import * as DynamoDB from 'aws-sdk/clients/dynamodb';
import { Observable } from 'rxjs';
import { randomExponentialBackoffTimer } from '../../../helper';
import { ModelConstructor } from '../../../model';
import { DynamoRx } from '../../dynamo-rx';
import { BaseRequest } from '../base.request';
export declare class BatchWriteSingleTableRequest<T> extends BaseRequest<T, DynamoDB.BatchWriteItemInput, BatchWriteSingleTableRequest<T>> {
    private readonly logger;
    private toKey;
    constructor(dynamoRx: DynamoRx, modelClazz: ModelConstructor<T>);
    returnItemCollectionMetrics(value: DynamoDB.ReturnItemCollectionMetrics): void;
    delete(items: T[]): BatchWriteSingleTableRequest<T>;
    put(items: T[]): BatchWriteSingleTableRequest<T>;
    /**
     *
     * @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>;
    execFullResponse(backoffTimer?: typeof randomExponentialBackoffTimer, throttleTimeSlot?: number): Observable<DynamoDB.BatchWriteItemOutput>;
    private write;
    private createDeleteRequest;
    private createPutRequest;
}
