export interface DocNode { name: string; path: string; children?: DocNode[]; isFile?: boolean; } export declare function buildDocsTree(dir: string, basePath?: string): Promise; export declare const findIndexFile: (d: string) => Promise; export declare function getDocWithMetadata(slug: string[]): Promise<{ content: string; title: string; excerpt: string; metadata: Record; } | null>; //# sourceMappingURL=docs.d.ts.map