import { Node as ProseMirrorNode } from 'prosemirror-model';
import { CaptionAddress, CaptionDomain, CaptionInfo, DiscoveryItem } from '../../../../../../document-api/src/index.js';
export interface ResolvedCaption {
    node: ProseMirrorNode;
    pos: number;
    nodeId: string;
    label: string;
    number: string;
    text: string;
    instruction: string;
}
export declare function findAllCaptions(doc: ProseMirrorNode): ResolvedCaption[];
export declare function resolveCaptionTarget(doc: ProseMirrorNode, target: CaptionAddress): ResolvedCaption;
export declare function extractCaptionInfo(resolved: ResolvedCaption): CaptionInfo;
export declare function buildCaptionDiscoveryItem(resolved: ResolvedCaption, evaluatedRevision: string): DiscoveryItem<CaptionDomain>;
//# sourceMappingURL=caption-resolver.d.ts.map