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"; import { EthOrderFormAsset, EthOrderFormAsset$Outbound } from "./ethorderformasset.js"; import { EthRaribleV2OrderData, EthRaribleV2OrderData$Outbound } from "./ethrariblev2orderdata.js"; export declare const OrderFormAtType: { readonly RaribleV2: "RARIBLE_V2"; }; export type OrderFormAtType = ClosedEnum; export type EthRaribleV2OrderForm = { atType?: OrderFormAtType | undefined; data: EthRaribleV2OrderData; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ maker: string; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ taker?: string | undefined; make: EthOrderFormAsset; take: EthOrderFormAsset; startedAt?: Date | undefined; endedAt: Date; salt: string; signature: string; blockchain: Blockchain; }; export type EthRaribleOrderForm = EthRaribleV2OrderForm; export type OrderForm = EthRaribleV2OrderForm; /** @internal */ export declare const OrderFormAtType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const OrderFormAtType$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 OrderFormAtType$ { /** @deprecated use `OrderFormAtType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly RaribleV2: "RARIBLE_V2"; }>; /** @deprecated use `OrderFormAtType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly RaribleV2: "RARIBLE_V2"; }>; } /** @internal */ export declare const EthRaribleV2OrderForm$inboundSchema: z.ZodType; /** @internal */ export type EthRaribleV2OrderForm$Outbound = { "@type"?: string | undefined; data: EthRaribleV2OrderData$Outbound; maker: string; taker?: string | undefined; make: EthOrderFormAsset$Outbound; take: EthOrderFormAsset$Outbound; startedAt?: string | undefined; endedAt: string; salt: string; signature: string; blockchain: string; }; /** @internal */ export declare const EthRaribleV2OrderForm$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 EthRaribleV2OrderForm$ { /** @deprecated use `EthRaribleV2OrderForm$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EthRaribleV2OrderForm$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EthRaribleV2OrderForm$Outbound` instead. */ type Outbound = EthRaribleV2OrderForm$Outbound; } export declare function ethRaribleV2OrderFormToJSON(ethRaribleV2OrderForm: EthRaribleV2OrderForm): string; export declare function ethRaribleV2OrderFormFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EthRaribleOrderForm$inboundSchema: z.ZodType; /** @internal */ export type EthRaribleOrderForm$Outbound = EthRaribleV2OrderForm$Outbound; /** @internal */ export declare const EthRaribleOrderForm$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 EthRaribleOrderForm$ { /** @deprecated use `EthRaribleOrderForm$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EthRaribleOrderForm$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EthRaribleOrderForm$Outbound` instead. */ type Outbound = EthRaribleOrderForm$Outbound; } export declare function ethRaribleOrderFormToJSON(ethRaribleOrderForm: EthRaribleOrderForm): string; export declare function ethRaribleOrderFormFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OrderForm$inboundSchema: z.ZodType; /** @internal */ export type OrderForm$Outbound = EthRaribleV2OrderForm$Outbound; /** @internal */ export declare const OrderForm$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 OrderForm$ { /** @deprecated use `OrderForm$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderForm$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderForm$Outbound` instead. */ type Outbound = OrderForm$Outbound; } export declare function orderFormToJSON(orderForm: OrderForm): string; export declare function orderFormFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=orderform.d.ts.map