import * as z from "zod/v4-mini";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
* Secured funds include money orders, certified cheques and others (see
*
* @remarks
* UPS for details).
* If no payment_method inputted the value defaults to "ANY".)
*/
export declare const PaymentMethod: {
readonly SecuredFunds: "SECURED_FUNDS";
readonly Cash: "CASH";
readonly Any: "ANY";
};
/**
* Secured funds include money orders, certified cheques and others (see
*
* @remarks
* UPS for details).
* If no payment_method inputted the value defaults to "ANY".)
*/
export type PaymentMethod = ClosedEnum;
/**
* Specify collection on delivery details (UPS only).
*/
export type Cod = {
/**
* Amount to be collected.
*/
amount?: string | undefined;
/**
* Currency for the amount to be collected. Currently only USD is supported for UPS.
*/
currency?: string | undefined;
/**
* Secured funds include money orders, certified cheques and others (see
*
* @remarks
* UPS for details).
* If no payment_method inputted the value defaults to "ANY".)
*/
paymentMethod?: PaymentMethod | undefined;
};
/** @internal */
export declare const PaymentMethod$inboundSchema: z.ZodMiniEnum;
/** @internal */
export declare const PaymentMethod$outboundSchema: z.ZodMiniEnum;
/** @internal */
export declare const Cod$inboundSchema: z.ZodMiniType;
/** @internal */
export type Cod$Outbound = {
amount?: string | undefined;
currency?: string | undefined;
payment_method?: string | undefined;
};
/** @internal */
export declare const Cod$outboundSchema: z.ZodMiniType;
export declare function codToJSON(cod: Cod): string;
export declare function codFromJSON(jsonString: string): SafeParseResult;
//# sourceMappingURL=cod.d.ts.map