import type { Database } from 'better-sqlite3';
import type { EmbeddingMigrationPlan, MigrationHistoryFilter, MigrationHistoryPruneOptions, MigrationHistoryRecord, MigrationHistorySummary, MigrationResult } from '../../shared/types/migration.types.js';
declare class MigrationHistoryService {
    recordHistory(db: Database, plan: EmbeddingMigrationPlan, result: MigrationResult): number | undefined;
    listHistory(db: Database, filter?: MigrationHistoryFilter): MigrationHistoryRecord[];
    getHistoryById(db: Database, id: number): MigrationHistoryRecord | undefined;
    getSummary(db: Database, filter?: MigrationHistoryFilter): MigrationHistorySummary;
    pruneHistory(db: Database, options?: MigrationHistoryPruneOptions): number;
    logHistory(record: MigrationHistoryRecord): void;
    private mapRow;
}
export declare const migrationHistoryService: MigrationHistoryService;
export {};
//# sourceMappingURL=migration-history-service.d.ts.map