/** 与 useHighlight 脚注引用匹配一致(全局匹配) */ export declare const FOOTNOTE_REF_REG: RegExp; /** 从 `[^id]` 片段提取 identifier */ export declare const FOOTNOTE_REF_IDENTIFIER_REG: RegExp; export declare function extractFootnoteRefIdentifier(text?: string): string | undefined; /** * 展示用脚注标识:优先 leaf.identifier(字符串),否则从 text 解析 `[^…]` */ export declare function resolveFootnoteRefIdentifier(text?: string, leafIdentifier?: string | boolean): string | undefined; export declare function formatFootnoteRefDisplayLabel(text?: string, leafIdentifier?: string | boolean): string; export declare function extractFootnoteDefinitionIdentifier(text?: string): string | undefined; export declare function buildFootnoteDefinitionChangePayload(children: { type?: string; id?: unknown; identifier?: unknown; value?: unknown; url?: unknown; }[]): { id: {}; placeholder: unknown; origin_text: unknown; url: unknown; origin_url: unknown; }[];