import type { DBLockOptions } from '@powersync/common'; import type { Mutex, Semaphore } from '@powersync/shared-internals'; /** * Internal helper function to acquire a connection from a pool that has a designated writer, additional readers, and * also allows dispatching reads to the writer. */ export declare function acquireFromPool(writerMutex: Mutex, writer: Connection, readers: Semaphore | undefined, callback: (connection: Connection) => Promise, options: DBLockOptions | undefined, allowReadOnly: boolean): Promise;