export declare class WikiWorkspacePendingError extends Error { constructor(); } export declare class WorkspaceAuthorizationError extends Error { constructor(message: string); } export declare function isWikiRootReady(): boolean; /** * Close the workspace gate while a compatibility resolver is selecting the * active project. Path reads fail closed until `setWikiRoot()` completes. */ export declare function markWikiRootPending(): void; export declare function getWikiRoot(): string; export declare function setWikiRoot(root: string): void; export declare function uriToPath(uri: string): string | null; export declare function wikiDir(): string; export declare function rawDir(): string; export declare function indexFile(): string; export declare function logFile(): string; export declare function schemaFile(): string; export declare function docsDir(): string; export declare function docsCategoryDir(category: string): string; export declare function safeResolveWithin(root: string, relPath: string, opts?: { basenameOnly?: boolean; }): string; /** * Resolve a caller-owned relative path through the deepest existing ancestor. * Existing symlinks are followed only for validation and must remain inside the * canonical root. Missing leaves are reconstructed below that validated parent. */ export declare function resolveRealWithin(root: string, relPath: string): Promise; export declare function validateGlobPattern(pattern: string): string; export declare function relativePathFrom(root: string, absPath: string): string; export declare function rawFilePath(relPath: string): string; export declare function docsFilePath(filename: string): string; export declare function docsCategoryFilePath(category: string, relPath: string): string; export declare function docsCategoryDirReal(category: string): Promise; export declare function docsCategoryFilePathReal(category: string, relPath: string): Promise; export declare function wikiPagePath(relPath: string): string; //# sourceMappingURL=paths.d.ts.map