/**
 * @file 块级语法拓展：脚注定义 + 脚注列表渲染
 * @module transformer/extends/block/footnoteDef
 *
 * 语法：`[^id]: 脚注内容`
 * 定义解析结果存入 ctx.store；finalize 编号并在 AST 末尾注入 footnotes 节点。
 */
import { BaseBlockParser } from "../../../transformer/core/ParserBase.js";
import { MarkdownNode } from "../../../transformer/core/MarkdownNode.js";
import { BlockParseContext } from "../../../transformer/core/context/BlockParseContext";
import type { RenderContext } from "../../../transformer/core/context/RenderContext.js";
export declare function parseFootnoteDefinition(lines: string[], index: number): {
    id: string;
    lines: string[];
    nextIndex: number;
} | null;
/** finalize 注入的脚注列表节点，不参与源码 parse */
declare class FootnotesSectionBlockParser extends BaseBlockParser {
    constructor();
    canOpenAt(_lines: string[], _index: number, _ctx: BlockParseContext): boolean;
    parse(): null;
    render(node: MarkdownNode, ctx: RenderContext): string;
}
declare class FootnoteDefBlockParser extends BaseBlockParser {
    constructor();
    canOpenAt(lines: string[], index: number, _ctx: BlockParseContext): boolean;
    parse(lines: string[], index: number, ctx: BlockParseContext): {
        nextIndex: number;
        node: MarkdownNode;
    } | null;
    render(): string;
}
export declare const footnotesSectionBlockParser: FootnotesSectionBlockParser;
declare const _default: FootnoteDefBlockParser;
export default _default;
//# sourceMappingURL=footnoteDef.d.ts.map