import type * as paymentcryptographydata from "@distilled.cloud/aws/payment-cryptography-data"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Key } from "./Key.ts"; export interface DecryptDataRequest extends Omit { } /** * Runtime binding for `payment-cryptography:DecryptData` — decrypts * ciphertext under a {@link Key}. Provide `DecryptDataHttp` on the Function * to satisfy this service. * ### Decrypting Data * **Example:** Decrypt ciphertext * ```typescript * // init * const decrypt = yield* PaymentCryptography.DecryptData(key); * * // runtime * const result = yield* decrypt({ * CipherText: cipherText, * DecryptionAttributes: { * Symmetric: { Mode: "CBC", InitializationVector: "00000000000000000000000000000000" }, * }, * }); * ``` * * @binding */ export interface DecryptData extends Binding.Service(key: K) => Effect.Effect<(request: DecryptDataRequest) => Effect.Effect>> { } export declare const DecryptData: DecryptData; //# sourceMappingURL=DecryptData.d.ts.map