import type Database from 'better-sqlite3';
import type { ChangelogEntry } from '../../types/decision.types.js';
type CreateChangelogData = Omit<ChangelogEntry, 'id' | 'created_at'>;
export declare class ChangelogRepository {
    private db;
    private stmts;
    constructor(db: Database.Database);
    create(data: CreateChangelogData): number;
    getById(id: number): ChangelogEntry | undefined;
    findByProject(projectId: number, limit?: number): ChangelogEntry[];
    findByFile(filePath: string, projectId?: number, limit?: number): ChangelogEntry[];
    findBySession(sessionId: number): ChangelogEntry[];
    search(query: string, limit?: number): ChangelogEntry[];
}
export {};
