import { Node as ProseMirrorNode } from 'prosemirror-model';
import { CrossRefAddress, CrossRefDomain, CrossRefInfo, DiscoveryItem } from '../../../../../../document-api/src/index.js';
export interface ResolvedCrossRef {
    node: ProseMirrorNode;
    pos: number;
    instruction: string;
    target: string;
    fieldType: string;
    display: string;
    resolvedText: string;
    blockId: string;
}
export declare function findAllCrossRefs(doc: ProseMirrorNode): ResolvedCrossRef[];
export declare function resolveCrossRefTarget(doc: ProseMirrorNode, target: CrossRefAddress): ResolvedCrossRef;
export declare function extractCrossRefInfo(doc: ProseMirrorNode, resolved: ResolvedCrossRef): CrossRefInfo;
export declare function buildCrossRefDiscoveryItem(doc: ProseMirrorNode, resolved: ResolvedCrossRef, evaluatedRevision: string): DiscoveryItem<CrossRefDomain>;
//# sourceMappingURL=crossref-resolver.d.ts.map