import { DocumentClient } from 'aws-sdk/clients/dynamodb'; import { Model } from './model'; import { ConditionWriteOperate, OperateOptions } from './operate'; export declare class Update extends ConditionWriteOperate { protected options: UpdateOptions; constructor(options?: UpdateOptions); set(key: string): { to: (val?: {}) => Update; plus: (val?: number) => Update; minus: (val?: number) => Update; append: (val?: {}) => Update; prepend: (val?: {}) => Update; ifNotExists: (val?: {}) => Update; }; remove(...keys: string[]): this; add(key: string, val: number | DocumentClient.DynamoDbSet | Set): this; delete(key: string, val: DocumentClient.DynamoDbSet | Set): this; inspect(): { Update: {}; }; toJSON(): Partial; then(onfulfilled?: (value?: M) => TRes | PromiseLike, onrejected?: (reason: any) => TRes | PromiseLike): Promise; } export interface UpdateOptions extends Pick, 'Model' | 'logic' | 'leaf' | 'condExprs' | 'setExprs' | 'removeExprs' | 'addExprs' | 'deleteExprs' | 'names' | 'values'>, Partial { }