/** * Manages atomic sync operations in a queue to prevent concurrent execution * and ensure proper ordering of sync events. */ export declare class AtomicSyncQueue { #private; /** * Clears the queue and enqueues a new sync function. * * @param syncFunction - The sync function to enqueue. * @returns A Promise that resolves when the sync function completes. */ clearAndEnqueue(syncFunction: () => Promise): Promise; /** * Enqueues an atomic sync function for processing. * * @param syncFunction - The sync function to enqueue. * @returns A Promise that resolves when the sync function completes. */ enqueue(syncFunction: () => Promise): Promise; /** * Processes the atomic sync queue. */ process(): Promise; /** * Clears all pending sync events from the queue. * Useful when big sync starts to prevent stale updates. */ clear(): void; /** * Gets the current queue size. * * @returns The number of pending sync events. */ get size(): number; /** * Checks if queue processing is currently in progress. * * @returns True if processing is in progress. */ get isProcessing(): boolean; } //# sourceMappingURL=atomic-sync-queue.d.cts.map