import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Creator, Creator$Outbound } from "./creator.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { Royalty, Royalty$Outbound } from "./royalty.js"; export declare const AtTypeEthErc1155: { readonly EthErc1155: "ETH_ERC1155"; }; export type AtTypeEthErc1155 = ClosedEnum; export type EthLazyItemErc1155 = { atType: AtTypeEthErc1155; supply: string; /** * Item Id, has format `ETHEREUM:${token}:${tokenId}` */ id: string; uri: string; /** * Addresses of the NFT item creators */ creators: Array; /** * List of royalties */ royalties: Array; /** * Digital signatures */ signatures: Array; }; export declare const AtTypeEthErc721: { readonly EthErc721: "ETH_ERC721"; }; export type AtTypeEthErc721 = ClosedEnum; export type EthLazyItemErc721 = { atType: AtTypeEthErc721; /** * Item Id, has format `ETHEREUM:${token}:${tokenId}` */ id: string; uri: string; /** * Addresses of the NFT item creators */ creators: Array; /** * List of royalties */ royalties: Array; /** * Digital signatures */ signatures: Array; }; export type EthLazyItem = EthLazyItemErc721 | EthLazyItemErc1155; /** * Type of an Asset */ export type LazyItem = EthLazyItemErc721 | EthLazyItemErc1155; /** @internal */ export declare const AtTypeEthErc1155$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeEthErc1155$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 AtTypeEthErc1155$ { /** @deprecated use `AtTypeEthErc1155$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly EthErc1155: "ETH_ERC1155"; }>; /** @deprecated use `AtTypeEthErc1155$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly EthErc1155: "ETH_ERC1155"; }>; } /** @internal */ export declare const EthLazyItemErc1155$inboundSchema: z.ZodType; /** @internal */ export type EthLazyItemErc1155$Outbound = { "@type": string; supply: string; id: string; uri: string; creators: Array; royalties: Array; signatures: Array; }; /** @internal */ export declare const EthLazyItemErc1155$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 EthLazyItemErc1155$ { /** @deprecated use `EthLazyItemErc1155$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EthLazyItemErc1155$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EthLazyItemErc1155$Outbound` instead. */ type Outbound = EthLazyItemErc1155$Outbound; } export declare function ethLazyItemErc1155ToJSON(ethLazyItemErc1155: EthLazyItemErc1155): string; export declare function ethLazyItemErc1155FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeEthErc721$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeEthErc721$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 AtTypeEthErc721$ { /** @deprecated use `AtTypeEthErc721$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly EthErc721: "ETH_ERC721"; }>; /** @deprecated use `AtTypeEthErc721$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly EthErc721: "ETH_ERC721"; }>; } /** @internal */ export declare const EthLazyItemErc721$inboundSchema: z.ZodType; /** @internal */ export type EthLazyItemErc721$Outbound = { "@type": string; id: string; uri: string; creators: Array; royalties: Array; signatures: Array; }; /** @internal */ export declare const EthLazyItemErc721$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 EthLazyItemErc721$ { /** @deprecated use `EthLazyItemErc721$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EthLazyItemErc721$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EthLazyItemErc721$Outbound` instead. */ type Outbound = EthLazyItemErc721$Outbound; } export declare function ethLazyItemErc721ToJSON(ethLazyItemErc721: EthLazyItemErc721): string; export declare function ethLazyItemErc721FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EthLazyItem$inboundSchema: z.ZodType; /** @internal */ export type EthLazyItem$Outbound = EthLazyItemErc721$Outbound | EthLazyItemErc1155$Outbound; /** @internal */ export declare const EthLazyItem$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 EthLazyItem$ { /** @deprecated use `EthLazyItem$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EthLazyItem$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EthLazyItem$Outbound` instead. */ type Outbound = EthLazyItem$Outbound; } export declare function ethLazyItemToJSON(ethLazyItem: EthLazyItem): string; export declare function ethLazyItemFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const LazyItem$inboundSchema: z.ZodType; /** @internal */ export type LazyItem$Outbound = EthLazyItemErc721$Outbound | EthLazyItemErc1155$Outbound; /** @internal */ export declare const LazyItem$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 LazyItem$ { /** @deprecated use `LazyItem$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `LazyItem$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `LazyItem$Outbound` instead. */ type Outbound = LazyItem$Outbound; } export declare function lazyItemToJSON(lazyItem: LazyItem): string; export declare function lazyItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=lazyitem.d.ts.map