import type { WorkspaceKnowledgeIndexEntry } from '../types/index.js'; export declare const MANAGED_KNOWLEDGE_CATEGORIES: readonly ["requirements", "design", "data", "decisions", "raw", "parsed"]; export type KnowledgeCategory = (typeof MANAGED_KNOWLEDGE_CATEGORIES)[number]; export interface KnowledgeStructureReport { rootFiles: string[]; unknownDirectories: string[]; } export declare function rebuildKnowledgeIndex(basePath: string): Promise; export declare function loadKnowledgeIndex(basePath: string, options?: { repairIfInvalid?: boolean; }): Promise; export declare function repairKnowledgeIndexIfNeeded(basePath: string): Promise; export declare function inspectKnowledgeStructure(basePath: string): Promise; export declare function createKnowledgeEntryId(relativePath: string): string; export declare function mapKnowledgeType(category: KnowledgeCategory): WorkspaceKnowledgeIndexEntry['type']; export declare function isManagedKnowledgeCategory(category: string): category is KnowledgeCategory; //# sourceMappingURL=knowledge-index.d.ts.map