import type { Database } from "../../../shared/sqlite";
export interface ReadRange {
    start: number;
    end: number;
    count: number;
    lastReadAt: number;
}
export interface KeyFileCandidate {
    path: string;
    totalReads: number;
    rangedReads: number;
    fullReads: number;
    editCount: number;
    latestReadBytes: number;
    firstReadAt: number;
    lastReadAt: number;
    ranges: ReadRange[];
}
export declare function coalesceRanges(ranges: ReadRange[]): ReadRange[];
export declare function collectKeyFileCandidates(args: {
    openCodeDb: Database;
    magicDb: Database;
    projectPath: string;
    minReads: number;
}): KeyFileCandidate[];
//# sourceMappingURL=read-history.d.ts.map