import { RetryOptions } from '../types/retry-options'; import { tplinkTapoConnectWrapperType } from '../types/wrapper-types'; /** * Service class for handling batch operations with smart delays and error handling */ export declare class BatchOperationService { /** * Execute multiple operations in sequence with smart delays to prevent KLAP -1012 errors * @param operations Array of operations to execute * @param options Configuration options for batch execution * @returns Array of results for each operation */ static executeBatch(operations: Array<{ operation: () => Promise; name: string; delayAfter?: number; }>, options?: { defaultDelay?: number; retryOptions?: RetryOptions; }): Promise>; /** * Execute operations in parallel (use with caution for device operations) * @param operations Array of operations to execute in parallel * @param options Configuration options * @returns Array of results for each operation */ static executeParallel(operations: Array<{ operation: () => Promise; name: string; }>, options?: { maxConcurrency?: number; }): Promise>; }