export interface BlockAnnotationInstruction { tag: string; props: Record; start: number; end: number; } export interface InlineAnnotationInstruction { tag: string; props: Record; index: number; } export interface AnnotationInstructions { block: BlockAnnotationInstruction[]; inline: InlineAnnotationInstruction[]; } export interface AnnotationParseResult extends AnnotationInstructions { value: string; } export declare function hasAnnotationCandidates(value: string, annotations: Iterable): boolean; export declare function parseAnnotations(value: string, annotations: Iterable): AnnotationParseResult; export declare function remapAnnotationInstructions(instructions: AnnotationInstructions, originalValue: string, formattedValue: string): AnnotationInstructions;