/**
 * @file 块级语法：分割线 (Thematic Break)
 * @module transformer/gfm/block/hr
 *
 * CommonMark / GFM 水平分割线：`---`、`* * *`、`___` 等。
 */
import { BaseBlockParser } from "../../../transformer/core/ParserBase.js";
import { MarkdownNode } from "../../../transformer/core/MarkdownNode.js";
import { BlockParseContext } from "../../../transformer/core/context/BlockParseContext";
import { RenderContext } from "../../../transformer/core/context/RenderContext";
/**
 * GFM thematic break：0–3 列缩进，同一字符 (-、*、_) 重复 ≥3 次，中间可有空格或 tab。
 *
 * @param {string} line
 * @returns {boolean}
 */
export declare function isThematicBreakLine(line: string): boolean;
/**
 * 水平分割线块解析器。
 *
 * @extends {BaseBlockParser}
 */
declare class ThematicBreakParser extends BaseBlockParser {
    constructor();
    /** @inheritdoc */
    canOpenAt(lines: string[], index: number): boolean;
    /** @inheritdoc */
    parse(lines: string[], index: number, ctx: BlockParseContext): {
        node: MarkdownNode;
        nextIndex: number;
    } | null;
    /** @inheritdoc */
    render(node: MarkdownNode, ctx: RenderContext | undefined): string;
}
declare const _default: ThematicBreakParser;
export default _default;
//# sourceMappingURL=hr.d.ts.map