import { OCResource } from "../models/oc-resources";
import Bottleneck from 'bottleneck';
import { OCResourceEnum } from '../models/oc-resource-enum';
export default class OrderCloudBulk {
    limiter: Bottleneck;
    retryWaitScheduleInMS: number[];
    constructor(limiter: Bottleneck);
    private throwError;
    ListAll(resource: OCResource, ...routeParams: string[]): Promise<any[]>;
    ListAllWithFunction(resourceName: OCResourceEnum, listFunc: Function, ...routeParams: string[]): Promise<any[]>;
    CreateAll(resource: OCResource, records: any[]): Promise<any[]>;
    Run<T, K>(resourceName: OCResourceEnum, records: T[], func: (arg: T) => Promise<K>): Promise<K[]>;
}
