import type { StructureNode, DocumentStructure } from './types.js';
/** Main extraction pipeline: markdown content → DocumentStructure */
export declare function extractFromMarkdown(content: string): DocumentStructure;
/** Find which section a character range falls into */
export declare function findChunkSection(structure: DocumentStructure, start: number, end: number): StructureNode | null;
/** Enrich structure nodes with word count and token estimates */
export declare function enrichStructureWithMetrics(structure: DocumentStructure, content: string): void;
/** Get the content of a section from the original markdown */
export declare function getSectionContent(content: string, node: StructureNode, includeChildren?: boolean): string;
