import { type ReferenceContext } from './reference-context.js';
/** A selected document fragment and the kind of object expected by its caller. */
export type ReferenceTarget = {
    fragment: string;
    context: ReferenceContext;
};
/** External dependencies retain their fragment and context until the file is loaded. */
type ExternalReferenceTarget = ReferenceTarget & {
    filename: string;
};
/** Collect dependencies from selected fragments, following local aliases in the same context. */
export declare const getReferenceTargets: (specification: unknown, targets?: ReferenceTarget[]) => ExternalReferenceTarget[];
export {};
//# sourceMappingURL=get-reference-targets.d.ts.map