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>;
    /**
     * write all given items
     * @param backoffTimer when unprocessed items are returned the next value of backoffTimer is used to determine how many time slots to wait before doing the next request
     * @param throttleTimeSlot the duration of a time slot in ms
     */
    exec(backoffTimer?: typeof randomExponentialBackoffTimer, throttleTimeSlot?: number): Observable<void>;
    execFullResponse(backoffTimer?: typeof randomExponentialBackoffTimer, throttleTimeSlot?: number): Observable<DynamoDB.BatchWriteItemOutput>;
    private write;
    private createDeleteRequest;
    private createPutRequest;
}
