import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Transaction, Transaction$Outbound } from "./transaction.js"; export declare enum PaymentResponseFinalizedTag { Finalized = "finalized" } export declare enum Status { Success = "success" } export type PaymentResponseFinalized = { dotTag: PaymentResponseFinalizedTag; id?: string | undefined; status: Status; transaction: Transaction; }; /** @internal */ export declare const PaymentResponseFinalizedTag$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PaymentResponseFinalizedTag$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 PaymentResponseFinalizedTag$ { /** @deprecated use `PaymentResponseFinalizedTag$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum; /** @deprecated use `PaymentResponseFinalizedTag$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum; } /** @internal */ export declare const Status$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Status$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 Status$ { /** @deprecated use `Status$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum; /** @deprecated use `Status$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum; } /** @internal */ export declare const PaymentResponseFinalized$inboundSchema: z.ZodType; /** @internal */ export type PaymentResponseFinalized$Outbound = { ".tag": string; id?: string | undefined; status: string; transaction: Transaction$Outbound; }; /** @internal */ export declare const PaymentResponseFinalized$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 PaymentResponseFinalized$ { /** @deprecated use `PaymentResponseFinalized$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PaymentResponseFinalized$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PaymentResponseFinalized$Outbound` instead. */ type Outbound = PaymentResponseFinalized$Outbound; } export declare function paymentResponseFinalizedToJSON(paymentResponseFinalized: PaymentResponseFinalized): string; export declare function paymentResponseFinalizedFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paymentresponsefinalized.d.ts.map