export interface WikiPassage { id: string; heading: string; text: string; charStart: number; } export interface WikiPageRecord { path: string; mtimeMs: number; size: number; title: string; type: string; tags: string[]; aliases: string[]; sources: string[]; requestId?: string; client?: string; project?: string; updated?: string; body: string; raw: string; passages: WikiPassage[]; tokenCount: number; } export declare function segmentMarkdown(body: string, maxChars?: number): WikiPassage[]; export declare function parseWikiPageRecord(path: string, raw: string, stat: { mtimeMs: number; size: number; }): WikiPageRecord; export declare function readWikiPageRecord(wikiRoot: string, requestedPath: string, knownStat?: { mtimeMs: number; size: number; }, options?: { strict?: boolean; }): Promise; export declare function listWikiPagePaths(wikiRoot: string, options?: { strict?: boolean; }): Promise; //# sourceMappingURL=page-record.d.ts.map