/** * Helper function to limit concurrency (Worker Pool pattern) * * Executes a list of tasks with a maximum concurrency limit. * Useful for AI generation tasks to avoid rate limits or system overload. */ export declare function pMap(items: T[], mapper: (item: T) => Promise, concurrency: number, onProgress?: (completed: number, total: number) => void): Promise; //# sourceMappingURL=concurrency.d.ts.map