import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare enum PaymentActionRequestTag { Finalize = "finalize" } export type PaymentActionRequest = { dotTag: PaymentActionRequestTag; /** * Optional redirect result token required for an APM payment (excluding PayPal). */ redirectResult?: string | undefined; }; /** @internal */ export declare const PaymentActionRequestTag$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PaymentActionRequestTag$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 PaymentActionRequestTag$ { /** @deprecated use `PaymentActionRequestTag$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum; /** @deprecated use `PaymentActionRequestTag$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum; } /** @internal */ export declare const PaymentActionRequest$inboundSchema: z.ZodType; /** @internal */ export type PaymentActionRequest$Outbound = { ".tag": string; redirect_result?: string | undefined; }; /** @internal */ export declare const PaymentActionRequest$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 PaymentActionRequest$ { /** @deprecated use `PaymentActionRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PaymentActionRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PaymentActionRequest$Outbound` instead. */ type Outbound = PaymentActionRequest$Outbound; } export declare function paymentActionRequestToJSON(paymentActionRequest: PaymentActionRequest): string; export declare function paymentActionRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paymentactionrequest.d.ts.map