import type { ProjectKnowledge } from '../../types/index.js';
declare function knowledgeFile(projectId: string): string;
/**
 * Get project knowledge. Returns `null` when no knowledge has been stored yet.
 */
export declare function getKnowledge(projectId: string): Promise<ProjectKnowledge | null>;
/**
 * Save or overwrite the full project knowledge object.
 */
export declare function saveKnowledge(projectId: string, knowledge: ProjectKnowledge): Promise<void>;
/**
 * Partially update project knowledge, merging with the existing object.
 */
export declare function updateKnowledge(projectId: string, updates: Partial<ProjectKnowledge>): Promise<ProjectKnowledge>;
/**
 * Delete all knowledge for a project. Returns `true` if it existed.
 */
export declare function deleteKnowledge(projectId: string): Promise<boolean>;
export { knowledgeFile };
//# sourceMappingURL=knowledge.d.ts.map