/** * Block-level and inline markdown parsers. * * parseBlocks: Walks lines top-down, dispatching to individual block parsers. * parseInline: Position-based scanner that handles nested inline marks. * * Each parser returns the ADF node(s) produced and the number of lines consumed, * making it easy for parseBlocks to advance the cursor correctly. */ import type { AdfNode, AdfMark } from './nodes.js'; export declare function parseBlocks(markdown: string): AdfNode[]; export declare function parseInline(input: string): AdfNode[]; export type { AdfNode, AdfMark }; //# sourceMappingURL=parser.d.ts.map