import type { EventType, Store, WALEvent } from "./types.js"; export interface EventLog { append(event: Omit): WALEvent; replay(sinceId?: number, limit?: number): WALEvent[]; markSyncing(ids: number[]): void; markSynced(id: number): void; markFailed(id: number, error: string): void; stats(): { total: number; pending: number; synced: number; failed: number; }; } export declare function createEventLog(store: Store): EventLog; export declare function createWALRecord(params: { eventId: string; eventType: EventType; userId: string; scope: string; payload: unknown; }): Omit; //# sourceMappingURL=eventlog.d.ts.map