/** * Class for executing promises sequentially by ID. * Ensures that operations with the same ID are processed in order. * Automatically cleans up completed operations to prevent memory leaks. */ export declare class SequentialPromiseExecutor { /** * Map tracking the last operation promise for each ID */ operations: Map>; /** * Execute a promise-returning function, ensuring sequential execution for the same ID. * Automatically removes the promise from tracking once it completes. */ execute(id: string, execute: () => Promise): Promise; /** * Clear all tracked operations for all IDs. * This is still useful for forcibly clearing all operations when needed. */ clear(): void; } //# sourceMappingURL=sequentialPromiseExecutor.d.ts.map