import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PaymentMethodAffirm, PaymentMethodAffirm$Outbound, PaymentMethodAffirmTag } from "./paymentmethodaffirmoutput.js"; import { PaymentMethodAfterpay, PaymentMethodAfterpay$Outbound, PaymentMethodAfterpayTag } from "./paymentmethodafterpayoutput.js"; import { DotTag, PaymentMethodCreditCardInput, PaymentMethodCreditCardInput$Outbound } from "./paymentmethodcreditcard.js"; import { PaymentMethodKlarnaAccount, PaymentMethodKlarnaAccount$Outbound, PaymentMethodKlarnaAccountTag } from "./paymentmethodklarnaaccountoutput.js"; import { PaymentMethodKlarna, PaymentMethodKlarna$Outbound, PaymentMethodKlarnaTag } from "./paymentmethodklarnaoutput.js"; import { PaymentMethodKlarnaPaynow, PaymentMethodKlarnaPaynow$Outbound, PaymentMethodKlarnaPaynowTag } from "./paymentmethodklarnapaynowoutput.js"; import { PaymentMethodPaypal, PaymentMethodPaypal$Outbound, PaymentMethodPaypalTag } from "./paymentmethodpaypaloutput.js"; import { PaymentMethodReference, PaymentMethodReference$Outbound, PaymentMethodReferenceTag } from "./paymentmethodreference.js"; export type PaymentMethodExtended = (PaymentMethodReference & { dotTag: PaymentMethodReferenceTag.Id; }) | (PaymentMethodAffirm & { dotTag: PaymentMethodAffirmTag.Affirm; }) | (PaymentMethodAfterpay & { dotTag: PaymentMethodAfterpayTag.Afterpay; }) | (PaymentMethodKlarna & { dotTag: PaymentMethodKlarnaTag.Klarna; }) | (PaymentMethodKlarnaAccount & { dotTag: PaymentMethodKlarnaAccountTag.KlarnaAccount; }) | (PaymentMethodKlarnaPaynow & { dotTag: PaymentMethodKlarnaPaynowTag.KlarnaPaynow; }) | (PaymentMethodPaypal & { dotTag: PaymentMethodPaypalTag.Paypal; }) | (PaymentMethodCreditCardInput & { dotTag: DotTag.CreditCard; }); /** @internal */ export declare const PaymentMethodExtended$inboundSchema: z.ZodType; /** @internal */ export type PaymentMethodExtended$Outbound = (PaymentMethodReference$Outbound & { ".tag": PaymentMethodReferenceTag.Id; }) | (PaymentMethodAffirm$Outbound & { ".tag": PaymentMethodAffirmTag.Affirm; }) | (PaymentMethodAfterpay$Outbound & { ".tag": PaymentMethodAfterpayTag.Afterpay; }) | (PaymentMethodKlarna$Outbound & { ".tag": PaymentMethodKlarnaTag.Klarna; }) | (PaymentMethodKlarnaAccount$Outbound & { ".tag": PaymentMethodKlarnaAccountTag.KlarnaAccount; }) | (PaymentMethodKlarnaPaynow$Outbound & { ".tag": PaymentMethodKlarnaPaynowTag.KlarnaPaynow; }) | (PaymentMethodPaypal$Outbound & { ".tag": PaymentMethodPaypalTag.Paypal; }) | (PaymentMethodCreditCardInput$Outbound & { ".tag": DotTag.CreditCard; }); /** @internal */ export declare const PaymentMethodExtended$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PaymentMethodExtended$ { /** @deprecated use `PaymentMethodExtended$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PaymentMethodExtended$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PaymentMethodExtended$Outbound` instead. */ type Outbound = PaymentMethodExtended$Outbound; } export declare function paymentMethodExtendedToJSON(paymentMethodExtended: PaymentMethodExtended): string; export declare function paymentMethodExtendedFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paymentmethodextended.d.ts.map