export type Header = { title: string; depth: number; }; export type ExtractTocResult = { headers: Header[]; }; export declare const extractToc: (documentPath: string) => Promise;