import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Blockchain } from "./blockchain.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const EncodedOrderAtType: { readonly EthOrderEncode: "ETH_ORDER_ENCODE"; }; export type EncodedOrderAtType = ClosedEnum; export type EncodedEthOrder = { atType?: EncodedOrderAtType | undefined; orderHash: string; signHash: string; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ transferProxy?: string | undefined; blockchain: Blockchain; }; export type EncodedOrder = EncodedEthOrder; /** @internal */ export declare const EncodedOrderAtType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const EncodedOrderAtType$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 EncodedOrderAtType$ { /** @deprecated use `EncodedOrderAtType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly EthOrderEncode: "ETH_ORDER_ENCODE"; }>; /** @deprecated use `EncodedOrderAtType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly EthOrderEncode: "ETH_ORDER_ENCODE"; }>; } /** @internal */ export declare const EncodedEthOrder$inboundSchema: z.ZodType; /** @internal */ export type EncodedEthOrder$Outbound = { "@type"?: string | undefined; orderHash: string; signHash: string; transferProxy?: string | undefined; blockchain: string; }; /** @internal */ export declare const EncodedEthOrder$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 EncodedEthOrder$ { /** @deprecated use `EncodedEthOrder$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EncodedEthOrder$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EncodedEthOrder$Outbound` instead. */ type Outbound = EncodedEthOrder$Outbound; } export declare function encodedEthOrderToJSON(encodedEthOrder: EncodedEthOrder): string; export declare function encodedEthOrderFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EncodedOrder$inboundSchema: z.ZodType; /** @internal */ export type EncodedOrder$Outbound = EncodedEthOrder$Outbound; /** @internal */ export declare const EncodedOrder$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 EncodedOrder$ { /** @deprecated use `EncodedOrder$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EncodedOrder$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EncodedOrder$Outbound` instead. */ type Outbound = EncodedOrder$Outbound; } export declare function encodedOrderToJSON(encodedOrder: EncodedOrder): string; export declare function encodedOrderFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=encodedorder.d.ts.map