import { BlockType } from './types'; /** * 原始块信息(分割后未解析) */ export interface RawBlock { source: string; type: BlockType; stable: boolean; startIndex: number; } /** * 块边界分割器 * 将 Markdown 内容按块级元素边界分割 */ export declare class BlockSplitter { private codeBlockState; /** * 分割内容为块 */ split(content: string): RawBlock[]; /** * 检测是否是代码围栏 */ private isCodeFence; /** * 提取围栏字符 */ private extractFence; /** * 检测是否是匹配的闭合围栏 */ private isMatchingCloseFence; /** * 检测块类型 */ private detectBlockType; } //# sourceMappingURL=block-splitter.d.ts.map