import { KeyValuePair, ScanStorageArgs, WriteOps } from "../../storage/types"; import { ConcurrencyLog } from "../ConcurrencyLog"; import { TupleStorageApi } from "../sync/types"; import { TxId, Unsubscribe } from "../types"; import { AsyncReactivityTracker } from "./AsyncReactivityTracker"; import { AsyncCallback, AsyncTupleDatabaseApi, AsyncTupleStorageApi } from "./asyncTypes"; export declare class AsyncTupleDatabase implements AsyncTupleDatabaseApi { private storage; constructor(storage: TupleStorageApi | AsyncTupleStorageApi); log: ConcurrencyLog; reactivity: AsyncReactivityTracker; scan(args?: ScanStorageArgs, txId?: TxId): Promise; subscribe(args: ScanStorageArgs, callback: AsyncCallback): Promise; commit(writes: WriteOps, txId?: string): Promise; cancel(txId: string): Promise; close(): Promise; } //# sourceMappingURL=../../../src/database/async/AsyncTupleDatabase.d.ts.map