export declare function promiseMapLimit<T, P>(array: T[], poolLimit: number, iteratorFn: (arg: T, array: T[]) => Promise<P>): Promise<P[]>;
export type ProcessingResult = {
    status: 'ok' | 'error';
    error?: Error;
};
export declare function promiseMapLimitWithStatus<T>(array: T[], poolLimit: number, iteratorFn: (item: T) => Promise<unknown>, logger?: {
    error: (message: string, error?: Error) => void;
}): Promise<{
    result: ProcessingResult[];
    count: {
        ok: number;
        failed: number;
    };
}>;
//# sourceMappingURL=async.d.ts.map