import type { Client } from '@libsql/client';
/**
 * Runs `fn` after every previously-enqueued write on `client` has settled, and
 * returns its result. The chain advances regardless of whether `fn` resolves or
 * rejects, so one failed write never wedges the queue.
 */
export declare function withClientWriteLock<T>(client: Client, fn: () => Promise<T>): Promise<T>;
//# sourceMappingURL=write-lock.d.ts.map