import type { CronRunHistoryRow, JobExecution } from './types.js';
export declare class CronRunLogStore {
    private readonly dir;
    constructor(dir?: string);
    private ensureDir;
    private jobFile;
    appendCompleted(execution: JobExecution): Promise<void>;
    private maybeTrimFile;
    readJobHistory(jobId: string, limit: number): Promise<JobExecution[]>;
    /**
     * Latest runs across all jobs (disk only). Caller supplies job names for display.
     */
    readAllRuns(limit: number, jobNames: Map<string, string | undefined>): Promise<CronRunHistoryRow[]>;
    deleteJobRuns(jobId: string): Promise<void>;
}
