import type { V2Store } from '../../v2/store-facade.js'; import type { BlobEnvelope, V2Table } from './envelope.js'; import { type V2Staging } from './staging.js'; export declare const SYNC_TABLES: V2Table[]; /** Read every row of every synced table; return the envelopes the server doesn't yet have. * `inFlight` = staging keys already sitting in the retry queue — skip them so a failed * push's rows are not re-enqueued under a new idempotency key (the retry-hole fix). */ export declare function exportV2(store: V2Store, staging: V2Staging, inFlight?: Set): BlobEnvelope[]; /** Every logical key currently present in the store (incl. soft-deleted rows, which are still rows). */ export declare function collectLiveKeys(store: V2Store): Set;