import type { Database } from "better-sqlite3"; import type { ConvReducerState } from "../conversation-reducer"; export interface Checkpoint { messageIndex: number; byteOffset: number; lineNumber: number; state: ConvReducerState; } export declare class CheckpointsRepo { private db; constructor(db: Database); replaceAll(sourcePath: string, checkpoints: Checkpoint[]): void; append(sourcePath: string, checkpoints: Checkpoint[]): void; floor(sourcePath: string, messageIndex: number): Checkpoint | null; last(sourcePath: string): Checkpoint | null; count(sourcePath: string): number; remove(sourcePath: string): void; } //# sourceMappingURL=checkpoints.repo.d.ts.map