import type { PutCommandInput, PutCommandOutput } from '@aws-sdk/lib-dynamodb'; import { $sentArgs } from '../../../entity/constants.js'; import type { Entity, EntitySendableAction } from '../../../entity/entity.js'; import type { FormattedItem } from '../../../entity/index.js'; import { EntityAction } from '../../../entity/index.js'; import type { ValidItem } from '../../../entity/index.js'; import type { AllOldReturnValuesOption, NoneReturnValuesOption } from '../../../options/returnValues.js'; import type { DocumentClientOptions } from '../../../types/documentClientOptions.js'; import type { Merge } from '../../../types/merge.js'; import { $item, $options } from './constants.js'; import type { PutItemOptions } from './options.js'; import type { PutItemInput } from './types.js'; type ReturnedAttributes> = OPTIONS['returnValues'] extends NoneReturnValuesOption ? undefined : OPTIONS['returnValues'] extends AllOldReturnValuesOption ? FormattedItem | undefined : never; export type PutItemResponse = PutItemOptions> = Merge, { Attributes?: ReturnedAttributes; ToolboxItem: ValidItem; }>; export declare class PutItemCommand = PutItemOptions> extends EntityAction implements EntitySendableAction { static actionName: "put"; [$item]?: PutItemInput; [$options]: OPTIONS; constructor(entity: ENTITY, item?: PutItemInput, options?: OPTIONS); item(nextItem: PutItemInput): PutItemCommand; options>(nextOptions: NEXT_OPTIONS | ((prevOptions: OPTIONS) => NEXT_OPTIONS)): PutItemCommand; [$sentArgs](): [PutItemInput, PutItemOptions]; params(): PutCommandInput & { ToolboxItem: ValidItem; }; send(documentClientOptions?: DocumentClientOptions): Promise>; } export {};