export interface NormalizeWikiPagePathOptions { /** * Accept the common project-relative spelling (`wiki/...`) at API * boundaries and convert it to the canonical wiki-relative spelling. */ allowWikiRootPrefix?: boolean; /** Control files are managed by dedicated services, not page CRUD. */ allowControlFiles?: boolean; } /** * Return a normalized Markdown page path relative to the canonical wiki root. * * Page directories intentionally remain open-ended. The only directory names * rejected here are hidden/operational segments and `wiki`, because accepting * either would create content that normal indexing cannot safely distinguish * from canonical memory. At caller-facing boundaries a leading `wiki/` is * treated as a redundant project-relative root marker and removed. */ export declare function normalizeWikiPagePath(value: string, options?: NormalizeWikiPagePathOptions): string; export declare function isCanonicalWikiPagePath(value: string): boolean; /** * Return the canonical destination for a legacy page stored below one or more * nested `wiki` directories. Invalid, unsafe, and already-canonical paths are * not repair candidates. */ export declare function nestedWikiPageRepairTarget(value: string): string | null; //# sourceMappingURL=wiki-page-path.d.ts.map