import type { LedgerEntry } from '../core/types.js'; /** * SQLite-backed append-only ledger store. * Each entry is stored as a row with JSON-serialized input/output fields. */ export declare class LedgerStore { private db; constructor(storagePath?: string); private init; append(entry: LedgerEntry): void; getHead(): LedgerEntry | null; getAll(): LedgerEntry[]; getRecent(count: number): LedgerEntry[]; query(filter: { agent?: string; sessionId?: string; model?: string; operation?: string; since?: string; until?: string; limit?: number; }): LedgerEntry[]; /** * Tamper with an entry (for demo/testing purposes ONLY). * Simulates an attacker modifying a recorded entry. */ _tamper(sequence: number, field: string, value: string): boolean; close(): void; private rowToEntry; } //# sourceMappingURL=sqlite.d.ts.map