/**
 * @file 块级语法：Setext 标题 (===, ---)
 * @module transformer/gfm/block/setextHeading
 *
 * slug 配置见 `atx_heading.ts` 的 `syntaxOptions.atx_heading`
 */
import { BaseBlockParser } from "../../../transformer/core/ParserBase.js";
import { MarkdownNode } from "../../../transformer/core/MarkdownNode.js";
import type { RenderContext } from "../../../transformer/core/context/RenderContext.js";
import { BlockParseContext } from "../../../transformer/core/context/BlockParseContext";
export declare function getSetextUnderlineInfo(line: string): number;
declare class SetextHeadingBlockParser extends BaseBlockParser {
    constructor();
    /** @inheritdoc */
    canOpenAt(lines: string[], index: number, ctx: BlockParseContext): boolean;
    /** @inheritdoc */
    parse(lines: string[], index: number, ctx: BlockParseContext): {
        node: MarkdownNode;
        nextIndex: number;
    } | null;
    /** @inheritdoc */
    render(node: MarkdownNode, ctx: RenderContext): string;
}
declare const _default: SetextHeadingBlockParser;
export default _default;
//# sourceMappingURL=setext_heading.d.ts.map