import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare enum PaymentMethodPaypalTag { Paypal = "paypal" } export type PaymentMethodPaypalOutput = { dotTag: PaymentMethodPaypalTag; }; export type PaymentMethodPaypal = { dotTag: PaymentMethodPaypalTag; /** * Redirect URL for successful PayPal transaction. */ successUrl: string; /** * Redirect URL for canceled PayPal transaction. */ cancelUrl: string; }; /** @internal */ export declare const PaymentMethodPaypalTag$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PaymentMethodPaypalTag$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PaymentMethodPaypalTag$ { /** @deprecated use `PaymentMethodPaypalTag$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum; /** @deprecated use `PaymentMethodPaypalTag$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum; } /** @internal */ export declare const PaymentMethodPaypalOutput$inboundSchema: z.ZodType; /** @internal */ export type PaymentMethodPaypalOutput$Outbound = { ".tag": string; }; /** @internal */ export declare const PaymentMethodPaypalOutput$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 PaymentMethodPaypalOutput$ { /** @deprecated use `PaymentMethodPaypalOutput$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PaymentMethodPaypalOutput$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PaymentMethodPaypalOutput$Outbound` instead. */ type Outbound = PaymentMethodPaypalOutput$Outbound; } export declare function paymentMethodPaypalOutputToJSON(paymentMethodPaypalOutput: PaymentMethodPaypalOutput): string; export declare function paymentMethodPaypalOutputFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PaymentMethodPaypal$inboundSchema: z.ZodType; /** @internal */ export type PaymentMethodPaypal$Outbound = { ".tag": string; success_url: string; cancel_url: string; }; /** @internal */ export declare const PaymentMethodPaypal$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 PaymentMethodPaypal$ { /** @deprecated use `PaymentMethodPaypal$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PaymentMethodPaypal$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PaymentMethodPaypal$Outbound` instead. */ type Outbound = PaymentMethodPaypal$Outbound; } export declare function paymentMethodPaypalToJSON(paymentMethodPaypal: PaymentMethodPaypal): string; export declare function paymentMethodPaypalFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paymentmethodpaypaloutput.d.ts.map