import type { SyncQueueInput, SyncQueueItem, SyncQueueStats, SyncQueueStorage, SyncState } from "./types"; /** * IndexedDB implementation of SyncQueueStorage for browser environments. */ export declare class IndexedDbSyncQueue implements SyncQueueStorage { private dbName; private db; private dbPromise; /** * Create a new IndexedDB sync queue. * @param accountId - Unique identifier for the account (e.g., address, pubkey hash) */ constructor(accountId: string); private getDb; enqueue(items: SyncQueueInput[]): Promise; claim(count?: number): Promise>; private getPendingByTxid; private markProcessing; complete(id: string): Promise; completeMany(ids: string[]): Promise; fail(id: string, error: string): Promise; getByTxid(txid: string): Promise; getByStatus(status: SyncQueueItem["status"], limit?: number): Promise; getStats(): Promise; getState(): Promise; setState(state: Partial): Promise; resetProcessing(): Promise; clear(): Promise; close(): Promise; }