import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AddressReferenceInput, AddressReferenceInput$Outbound } from "./addressreferenceinput.js"; import { Amount, Amount$Outbound } from "./amount.js"; export type CartShipment = { address?: AddressReferenceInput | undefined; /** * A monetary amount, i.e. a base unit amount and a supported currency. */ cost?: Amount | undefined; /** * The name of the carrier selected. */ carrier?: string | undefined; }; /** @internal */ export declare const CartShipment$inboundSchema: z.ZodType; /** @internal */ export type CartShipment$Outbound = { address?: AddressReferenceInput$Outbound | undefined; cost?: Amount$Outbound | undefined; carrier?: string | undefined; }; /** @internal */ export declare const CartShipment$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 CartShipment$ { /** @deprecated use `CartShipment$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CartShipment$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CartShipment$Outbound` instead. */ type Outbound = CartShipment$Outbound; } export declare function cartShipmentToJSON(cartShipment: CartShipment): string; export declare function cartShipmentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=cartshipment.d.ts.map