import type { Logger } from 'pino';
import type { JobHistoryGateway, PruneJobHistoryResult } from '../../../../../modules/review-execution/entities/job/jobHistory.gateway.js';
import type { JobRecord } from '../../../../../modules/review-execution/entities/job/jobRecord.schema.js';
export interface JobHistoryFileSystemGatewayOptions {
    rootDir?: string;
    logger: Logger;
}
export declare class JobHistoryFileSystemGateway implements JobHistoryGateway {
    private readonly rootDir;
    private readonly logger;
    constructor(options: JobHistoryFileSystemGatewayOptions);
    private ensureRootDir;
    appendRecord(record: JobRecord): Promise<void>;
    loadRecordsWithinWindow(retentionDays: number, now: Date): Promise<JobRecord[]>;
    deleteRecordsOutsideWindow(retentionDays: number, now: Date): Promise<PruneJobHistoryResult>;
    private readFileRecords;
    private parseLine;
}
//# sourceMappingURL=jobHistory.fileSystem.gateway.d.ts.map