/** 与 `fncProps.onFootnoteDefinitionChange` 数组元素一致 */ export interface FootnoteDefinitionRow { id: any; placeholder: any; origin_text: any; url: any; origin_url: any; } /** @internal A render-local extraction; publish it only after commit. */ export interface FootnoteExtractionSnapshot { content: string; definitions: FootnoteDefinitionRow[]; prefixDefinitions: FootnoteDefinitionRow[]; definitionIds: ReadonlySet; referenceContext: string; tailOffset: number; } /** * Reparse the changing tail with the original enclosing Markdown containers * and all sealed definition contexts. New or invalidated global identifiers * require full parsing because they can resolve references in earlier notes. */ export declare const extractStreamingFootnoteDefinitions: (content: string, previous?: FootnoteExtractionSnapshot) => FootnoteExtractionSnapshot; /** * 从 Markdown 源码提取 GFM 脚注定义,结构与 Slate 只读 Editor 中 * `fncProps.onFootnoteDefinitionChange` 入参对齐。 */ export declare const extractFootnoteDefinitionsFromMarkdown: (content: string) => FootnoteDefinitionRow[];