export declare function batch(input: R[], fn: (input: R[]) => Promise): Promise;