import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PaymentResponseFinalized, PaymentResponseFinalized$Outbound, PaymentResponseFinalizedTag } from "./paymentresponsefinalized.js"; import { PaymentResponsePending, PaymentResponsePending$Outbound, PaymentResponsePendingTag } from "./paymentresponsepending.js"; export type PaymentResponse = (PaymentResponseFinalized & { dotTag: PaymentResponseFinalizedTag.Finalized; }) | (PaymentResponsePending & { dotTag: PaymentResponsePendingTag.Pending; }); /** @internal */ export declare const PaymentResponse$inboundSchema: z.ZodType; /** @internal */ export type PaymentResponse$Outbound = (PaymentResponseFinalized$Outbound & { ".tag": PaymentResponseFinalizedTag.Finalized; }) | (PaymentResponsePending$Outbound & { ".tag": PaymentResponsePendingTag.Pending; }); /** @internal */ export declare const PaymentResponse$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 PaymentResponse$ { /** @deprecated use `PaymentResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PaymentResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PaymentResponse$Outbound` instead. */ type Outbound = PaymentResponse$Outbound; } export declare function paymentResponseToJSON(paymentResponse: PaymentResponse): string; export declare function paymentResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paymentresponse.d.ts.map