import { Router } from 'express'; export interface WikiTreeNode { name: string; path: string; type: 'file' | 'directory'; children?: WikiTreeNode[]; } export interface WikiPageResult { path: string; frontmatter: Record; content: string; raw: string; } export declare function getWikiTree(wikiPath: string): WikiTreeNode[]; export declare function readWikiPage(wikiPath: string, filePath: string): WikiPageResult | null; export declare function writeWikiPage(wikiPath: string, filePath: string, content: string): void; export declare function deleteWikiPage(wikiPath: string, filePath: string): void; export declare function createWikiRouter(wikiPath: string): Router; //# sourceMappingURL=wiki-handler.d.ts.map