import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { RawJson, RawJson$Outbound } from "./rawjson.js"; export declare const RawOrderDataAtType: { readonly Raw: "RAW"; }; export type RawOrderDataAtType = ClosedEnum; export type RawOrderData = { atType: RawOrderDataAtType; data?: RawJson | undefined; }; /** @internal */ export declare const RawOrderDataAtType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const RawOrderDataAtType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace RawOrderDataAtType$ { /** @deprecated use `RawOrderDataAtType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Raw: "RAW"; }>; /** @deprecated use `RawOrderDataAtType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Raw: "RAW"; }>; } /** @internal */ export declare const RawOrderData$inboundSchema: z.ZodType; /** @internal */ export type RawOrderData$Outbound = { "@type": string; data?: RawJson$Outbound | undefined; }; /** @internal */ export declare const RawOrderData$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 RawOrderData$ { /** @deprecated use `RawOrderData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RawOrderData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `RawOrderData$Outbound` instead. */ type Outbound = RawOrderData$Outbound; } export declare function rawOrderDataToJSON(rawOrderData: RawOrderData): string; export declare function rawOrderDataFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=raworderdata.d.ts.map