import { BaseObserver, PowerSyncLogger, DBAdapter, Transaction, CrudEntry, CrudBatch } from '@powersync/common'; import { BucketStorageAdapter, BucketStorageListener, PowerSyncControlCommand } from './BucketStorageAdapter.js'; /** * @internal */ export declare class SqliteBucketStorage extends BaseObserver implements BucketStorageAdapter { private db; private logger; private updateListener; private _clientId?; constructor(db: DBAdapter, logger: PowerSyncLogger); dispose(): Promise; _getClientId(): Promise; getClientId(): Promise; updateLocalTarget(cb: () => Promise): Promise; nextCrudItem(): Promise; hasCrud(): Promise; /** * Get a batch of objects to send to the server. * When the objects are successfully sent to the server, call .complete() */ getCrudBatch(limit?: number): Promise; handleCrudCheckpoint(lastClientId: number, writeCheckpoint?: string): Promise; writeTransaction(callback: (tx: Transaction) => Promise, options?: { timeoutMs: number; }): Promise; control(op: PowerSyncControlCommand, payload: string | Uint8Array | ArrayBuffer | null): Promise; hasMigratedSubkeys(): Promise; migrateToFixedSubkeys(): Promise; static _subkeyMigrationKey: string; }