import { type GraphRecord } from './knowledgeGraph';
export interface CompactionStats {
    before: number;
    after: number;
    entitiesMerged: number;
    edgesDeduped: number;
    factsRetained: number;
}
export interface CompactionResult {
    records: GraphRecord[];
    stats: CompactionStats;
}
export declare function compactRecords(records: GraphRecord[]): CompactionResult;
export declare function compactKnowledgeGraph(projectDir: string): Promise<CompactionStats>;
//# sourceMappingURL=knowledgeGraphCompaction.d.ts.map