import { type ReplaySession } from "./replay.js"; /** Sessions live in SQLite. The `sqlite3` binary reads it so the CLI needs no driver. */ export declare const opencodeDbPath: () => string; export type OpencodeRow = { sessionId: string; directory: string; messageId: string; role: string; created: number; part: string; }; /** Rows for sessions run in `root` or below it; the database holds every project's sessions, so the filter runs in SQL. */ export declare const readOpencodeRows: (db: string, root: string) => OpencodeRow[]; export declare const opencodeSessionsFromRows: (root: string, rows: readonly OpencodeRow[]) => ReplaySession[]; export declare const opencodeSessionsFor: (root: string, db?: string) => ReplaySession[]; //# sourceMappingURL=replayOpencode.d.ts.map