import { WriteRequests } from 'aws-sdk/clients/dynamodb';
import { Observable } from 'rxjs';
import { randomExponentialBackoffTimer } from '../../../helper';
import { ModelConstructor } from '../../../model';
import { DynamoRx } from '../../dynamo-rx';
export declare class BatchWriteSingleTableRequest<T> {
    private readonly logger;
    private readonly toKey;
    private keyFn;
    readonly dynamoRx: DynamoRx;
    readonly modelClazz: ModelConstructor<T>;
    readonly tableName: string;
    readonly itemsToProcess: WriteRequests;
    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>;
}
