import { aws_dynamodb } from "aws-cdk-lib"; import { JsonFormat } from "typesafe-dynamodb"; import { TableKey } from "typesafe-dynamodb/lib/key"; import { Narrow } from "typesafe-dynamodb/lib/narrow"; import { DynamoDBAppsyncExpression } from "./appsync"; import { ReturnValues } from "./return-value"; import { ITable } from "./table"; import { AttributeKeyToObject } from "./util"; export declare type DeleteItemReturnValues = "NONE" | "ALL_OLD"; export interface DeleteItemInput extends Omit { Key: Key; ReturnValues?: ReturnValue; } export interface DeleteItemOutput, ReturnValue extends ReturnValues | undefined, Format extends JsonFormat = JsonFormat.Document> extends Omit { Attributes?: ReturnValue extends undefined | "NONE" ? undefined : ReturnValue extends "ALL_OLD" | "ALL_NEW" ? Narrow : Partial>; } export declare type DeleteItem = , Return extends DeleteItemReturnValues | undefined = undefined>(input: DeleteItemInput) => Promise>; export declare function createDeleteItemIntegration(table: aws_dynamodb.ITable, format: Format): DeleteItem; export declare type DeleteItemAppsync = >(input: { key: Key; condition?: DynamoDBAppsyncExpression; _version?: number; }) => Promise, JsonFormat.Document>>; export declare function createDeleteItemAppsyncIntegration(table: ITable): DeleteItemAppsync; //# sourceMappingURL=delete-item.d.ts.map