import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Request to cancel an existing wire withdrawal. The cancel will only succeed if the wire has not made it to the SendingToBank state */ export type CancelWireWithdrawalRequestCreate = { /** * The name of the wire withdrawal to cancel */ name: string; /** * The reason why the wire withdrawal is being canceled */ reason?: string | undefined; }; /** @internal */ export declare const CancelWireWithdrawalRequestCreate$inboundSchema: z.ZodType; /** @internal */ export type CancelWireWithdrawalRequestCreate$Outbound = { name: string; reason?: string | undefined; }; /** @internal */ export declare const CancelWireWithdrawalRequestCreate$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 CancelWireWithdrawalRequestCreate$ { /** @deprecated use `CancelWireWithdrawalRequestCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CancelWireWithdrawalRequestCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CancelWireWithdrawalRequestCreate$Outbound` instead. */ type Outbound = CancelWireWithdrawalRequestCreate$Outbound; } export declare function cancelWireWithdrawalRequestCreateToJSON(cancelWireWithdrawalRequestCreate: CancelWireWithdrawalRequestCreate): string; export declare function cancelWireWithdrawalRequestCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=cancelwirewithdrawalrequestcreate.d.ts.map