import { CorrectionCallback } from "../exports.js"; import { NewContentMessage } from "../sync.js"; type StoreQueueEntry = { data: NewContentMessage; correctionCallback: CorrectionCallback; done?: () => void; }; declare class StoreQueueManager { private backlog; private processing; schedule(queue: StoreQueue, callback: () => Promise): Promise; } export declare class StoreQueue { static manager: StoreQueueManager; private queue; closed: boolean; push(data: NewContentMessage, correctionCallback: CorrectionCallback, done?: () => void): void; pull(): StoreQueueEntry | undefined; processing: boolean; lastCallback: Promise | undefined; processQueue(callback: (data: NewContentMessage, correctionCallback: CorrectionCallback, done?: () => void) => Promise): Promise | undefined; close(): Promise | undefined; } export {}; //# sourceMappingURL=StoreQueue.d.ts.map