/** * Process items in limited-size concurrent batches. * * @param items - The array of items to process. * @param batchSize - The maximum number of concurrent executions. * @param handler - An async function to process each item. * @returns A flattened array of results. */ declare const processInBatches: (items: T[], batchSize: number, handler: (item: T) => Promise) => Promise; export default processInBatches;