import { BaseStore, Item, Operation, OperationResults } from "./base.js"; //#region src/store/batch.d.ts declare class AsyncBatchedStore extends BaseStore { lg_name: string; protected store: BaseStore; private queue; private nextKey; private running; private processingTask; constructor(store: BaseStore); get isRunning(): boolean; /** * @ignore * Batch is not implemented here as we're only extending `BaseStore` * to allow it to be passed where `BaseStore` is expected, and implement * the convenience methods (get, search, put, delete). */ batch(_operations: Op): Promise>; get(namespace: string[], key: string): Promise; search(namespacePrefix: string[], options?: { filter?: Record; limit?: number; offset?: number; query?: string; }): Promise; put(namespace: string[], key: string, value: Record): Promise; delete(namespace: string[], key: string): Promise; start(): void; stop(): Promise; private enqueueOperation; private processBatchQueue; toJSON(): { queue: Map void; reject: (reason?: any) => void; }>; nextKey: number; running: boolean; store: string; }; } //#endregion export { AsyncBatchedStore }; //# sourceMappingURL=batch.d.ts.map