import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Cart, Cart$Outbound } from "./cart.js"; import { Profile, Profile$Outbound } from "./profile.js"; export type Order = { /** * An account's identifying information. */ profile: Profile; cart: Cart; }; /** @internal */ export declare const Order$inboundSchema: z.ZodType; /** @internal */ export type Order$Outbound = { profile: Profile$Outbound; cart: Cart$Outbound; }; /** @internal */ export declare const Order$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 Order$ { /** @deprecated use `Order$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Order$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Order$Outbound` instead. */ type Outbound = Order$Outbound; } export declare function orderToJSON(order: Order): string; export declare function orderFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=order.d.ts.map