import type { Root, Heading, RootContent } from 'mdast'; export interface AnnotatedHeading { node: Heading; textContent: string; depth: number; startIndex: number; } export declare function parseMarkdown(input: string): Root; export declare function headingsAtDepth(root: Root, depth: number): AnnotatedHeading[]; export declare function sectionAfterHeading(root: Root, heading: AnnotatedHeading): string; export declare function sectionRawText(root: Root, heading: AnnotatedHeading): string; export declare function sectionNodes(root: Root, heading: AnnotatedHeading): RootContent[]; export declare function extractInlineTags(text: string): Record; export declare function slugify(text: string): string; //# sourceMappingURL=parse-markdown.d.ts.map