export type KnowledgeQuarantineReason = 'provenance_incomplete' | 'provenance_identity_mismatch' | 'schema_identity_mismatch' | 'catalog_identity_mismatch' | 'analysis_manifest_missing' | 'version_incompatible'; export interface KnowledgeQuarantineFinding { pageId: string; sourceId: string; contentHash: string; version?: string; reasons: KnowledgeQuarantineReason[]; } export interface KnowledgeMaintenanceManifest { id: string; schemaVersion: 1; projectRoot: string; databasePath: string; mode: 'dry-run' | 'apply'; generatedAt: number; backupPath?: string; findings: KnowledgeQuarantineFinding[]; changes: { pagesQuarantined: number; documentsDeactivated: number; catalogSnapshotsDeactivated: number; readinessSourcesDegraded: number; ftsRebuilt: boolean; }; } export declare function runKnowledgeMaintenance(options: { projectRoot: string; apply?: boolean; }): Promise; //# sourceMappingURL=knowledge-maintenance.d.ts.map