/** * Processes items in parallel batches of a given size. * * Items within each batch run concurrently via `Promise.all()`. * Batches execute sequentially to limit concurrency and avoid API rate limits. * Result order matches input order. * * @param items - Array of items to process. * @param batchSize - Number of items to process concurrently per batch (clamped to [1, 50]). * @param processor - Async function to apply to each item. * @returns Array of results in the same order as the input items. */ export declare function processInBatches(items: T[], batchSize: number, processor: (item: T) => Promise): Promise;