<?php

declare(strict_types=1);

namespace App\Support\References\Contracts;

use App\Support\References\ReferenceClass;
use App\Support\References\ReferenceDescriptor;
use App\Support\References\ResolvedReference;

interface ReferenceResolver
{
    public function referenceClass(): ReferenceClass;

    public function resolve(ReferenceDescriptor $descriptor): ResolvedReference;
}
