/**
 * Work Pool - Concurrent task execution utilities
 */
/**
 * Work Pool - Concurrent task execution with limit
 *
 * @param concurrency - Maximum concurrent tasks
 * @param items - Items to process
 * @param fn - Processing function
 */
export declare function workPool<T>(concurrency: number, items: T[], fn: (item: T, index: number) => Promise<void>): Promise<void>;
/**
 * Work Pool with results - Returns results in order
 */
export declare function workPoolWithResults<T, R>(concurrency: number, items: T[], fn: (item: T, index: number) => Promise<R>): Promise<R[]>;
/**
 * Batch processing - Process items in batches
 */
export declare function processBatches<T, R>(items: T[], batchSize: number, fn: (batch: T[]) => Promise<R[]>): Promise<R[]>;
