import type { Database as DatabaseType } from "better-sqlite3"; import type { ChangeRow } from "../types.js"; export declare class ChangesRepo { private db; constructor(db: DatabaseType); recordBulk(changes: Array<{ file_path: string; change_type: string; description: string; diff_summary?: string | null; impact_scope: string; }>, sessionId: number | null, timestamp: string): number; getByFile(filePath: string, limit: number): ChangeRow[]; getSince(timestamp: string): ChangeRow[]; getBySession(sessionId: number): Array<{ change_type: string; file_path: string; description: string; }>; getBySessionFull(sessionId: number): Array<{ change_type: string; file_path: string; description: string; }>; insertCompacted(sessionId: number, timestamp: string, summary: string): void; deleteNonCompacted(sessionId: number): void; getMostChanged(limit: number): Array<{ file_path: string; change_count: number; }>; countAll(): number; countBySession(sessionId: number): number; countBeforeCutoff(cutoffId: number): number; } //# sourceMappingURL=changes.repo.d.ts.map