///
export declare class BatchedRepeatable {
private collection;
private batchSize;
private onDispatch;
private dispatched;
private batchedCollection;
private dispatchedCollection;
readonly raw: T[];
readonly batched: T[];
constructor(collection: T[], batchSize?: number, onDispatch?: {
(batch: T[]): ng.IPromise;
});
private batchCollection();
private dispatchNext();
}