interface ExtractedLink { target: string; line?: number; /** Inclusive start offset of the URL in the source (when known). */ urlStart?: number; /** Exclusive end offset of the URL in the source (when known). */ urlEnd?: number; } export declare function extractLinksFromMarkdown(content: string, _filePath?: string): ExtractedLink[]; interface MarkdownSection { slug: string; /** From the heading to the next heading of the same or a higher level. */ text: string; } export declare function markdownSections(content: string): MarkdownSection[]; export declare function extractHeadingSlugs(content: string, _filePath?: string): Set; interface CodeSnippet { value: string; /** Line of the value's first character; a fence's value starts below its opening line. */ line: number; /** Fence language; null for inline code and unlabelled fences. */ lang: string | null; fenced: boolean; } /** Inline code spans and fenced blocks, in document order. */ export declare function codeSnippets(content: string): CodeSnippet[]; export declare function slugifyAnchor(anchor: string): string; export {};