import { WriteRequests } from 'aws-sdk/clients/dynamodb';
import { Observable } from 'rxjs';
import { DynamoRx } from '../../../dynamo/dynamo-rx';
import { randomExponentialBackoffTimer } from '../../../helper';
import { ModelConstructor } from '../../../model/model-constructor';
export declare class BatchWriteSingleTableRequest<T> {
    private readonly toKey;
    readonly dynamoRx: DynamoRx;
    readonly modelClazz: ModelConstructor<T>;
    readonly tableName: string;
    readonly itemsToProcess: WriteRequests;
    private _keyFn;
    constructor(dynamoRx: DynamoRx, modelClazz: ModelConstructor<T>, tableName: string);
    delete(items: T[]): BatchWriteSingleTableRequest<T>;
    put(items: T[]): BatchWriteSingleTableRequest<T>;
    private execNextBatch;
    /**
     *
     * @param backoffTimer generator for how much timeSlots should be waited before requesting next batch. only used when capacity was exceeded. default randomExponentialBackoffTimer
     * @param throttleTimeSlot defines how long one timeSlot is for throttling, default 1 second
     */
    exec(backoffTimer?: typeof randomExponentialBackoffTimer, throttleTimeSlot?: number): Observable<void>;
}
