import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ReversedWithCancellation, ReversedWithCancellation$Outbound } from "./reversedwithcancellation.js"; import { ReversedWithRefund, ReversedWithRefund$Outbound } from "./reversedwithrefund.js"; /** * Contains either a cancellation or refund, depending on the method used to reverse the transfer. */ export type Reversal = ReversedWithCancellation | ReversedWithRefund; /** @internal */ export declare const Reversal$inboundSchema: z.ZodType; /** @internal */ export type Reversal$Outbound = ReversedWithCancellation$Outbound | ReversedWithRefund$Outbound; /** @internal */ export declare const Reversal$outboundSchema: z.ZodType; export declare function reversalToJSON(reversal: Reversal): string; export declare function reversalFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=reversal.d.ts.map