import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { GooglePayPaymentOptionContext } from "./googlepaypaymentoptioncontext.js"; import { Mode } from "./mode.js"; import { PaymentOptionContext } from "./paymentoptioncontext.js"; import { WalletPaymentOptionContext } from "./walletpaymentoptioncontext.js"; export type PaymentOptionContextContext = GooglePayPaymentOptionContext | WalletPaymentOptionContext | PaymentOptionContext; export type PaymentOption = { type: "payment-option"; method: string; iconUrl?: string | null | undefined; mode: Mode; label?: string | null | undefined; canStorePaymentMethod: boolean; canDelayCapture: boolean; context?: GooglePayPaymentOptionContext | WalletPaymentOptionContext | PaymentOptionContext | null | undefined; }; /** @internal */ export declare const PaymentOptionContextContext$inboundSchema: z.ZodType; export declare function paymentOptionContextContextFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PaymentOption$inboundSchema: z.ZodType; export declare function paymentOptionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paymentoption.d.ts.map