import type { BaseStrategy, Transaction } from '@tanstack/react-db'; /** * Builds one paced-update entry point over a single in-flight gate. `optimistic` * applies the immediate UI change; `commit` runs the server mutation against the * *merged* changes once the pace strategy releases. Shared by keyed `sync` (one per * key) and `singleItemSync` (one per collection); the strategy instance owns the * gate, so callers get isolation by handing in a fresh strategy per gate. */ export declare const buildPacedUpdate: (args: { strategy: BaseStrategy; optimistic: (changes: TChanges) => void; commit: (mergedChanges: TChanges) => Promise; }) => ((changes: TChanges) => Transaction); //# sourceMappingURL=build-paced-update.d.ts.map