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 { EthCollectionTokenIdSignature, EthCollectionTokenIdSignature$Outbound } from "./ethcollectiontokenidsignature.js"; export declare const AtTypeEthereum: { readonly Ethereum: "ETHEREUM"; }; export type AtTypeEthereum = ClosedEnum; export type EthCollectionTokenId = { atType: AtTypeEthereum; signature: EthCollectionTokenIdSignature; tokenId: string; }; export declare const AtTypeDefault: { readonly Default: "DEFAULT"; }; export type AtTypeDefault = ClosedEnum; export type DefaultCollectionTokenId = { atType: AtTypeDefault; tokenId: string; }; export type CollectionTokenId = DefaultCollectionTokenId | EthCollectionTokenId; /** @internal */ export declare const AtTypeEthereum$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeEthereum$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 AtTypeEthereum$ { /** @deprecated use `AtTypeEthereum$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Ethereum: "ETHEREUM"; }>; /** @deprecated use `AtTypeEthereum$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Ethereum: "ETHEREUM"; }>; } /** @internal */ export declare const EthCollectionTokenId$inboundSchema: z.ZodType; /** @internal */ export type EthCollectionTokenId$Outbound = { "@type": string; signature: EthCollectionTokenIdSignature$Outbound; tokenId: string; }; /** @internal */ export declare const EthCollectionTokenId$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 EthCollectionTokenId$ { /** @deprecated use `EthCollectionTokenId$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EthCollectionTokenId$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EthCollectionTokenId$Outbound` instead. */ type Outbound = EthCollectionTokenId$Outbound; } export declare function ethCollectionTokenIdToJSON(ethCollectionTokenId: EthCollectionTokenId): string; export declare function ethCollectionTokenIdFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeDefault$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeDefault$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 AtTypeDefault$ { /** @deprecated use `AtTypeDefault$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Default: "DEFAULT"; }>; /** @deprecated use `AtTypeDefault$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Default: "DEFAULT"; }>; } /** @internal */ export declare const DefaultCollectionTokenId$inboundSchema: z.ZodType; /** @internal */ export type DefaultCollectionTokenId$Outbound = { "@type": string; tokenId: string; }; /** @internal */ export declare const DefaultCollectionTokenId$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 DefaultCollectionTokenId$ { /** @deprecated use `DefaultCollectionTokenId$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DefaultCollectionTokenId$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `DefaultCollectionTokenId$Outbound` instead. */ type Outbound = DefaultCollectionTokenId$Outbound; } export declare function defaultCollectionTokenIdToJSON(defaultCollectionTokenId: DefaultCollectionTokenId): string; export declare function defaultCollectionTokenIdFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CollectionTokenId$inboundSchema: z.ZodType; /** @internal */ export type CollectionTokenId$Outbound = DefaultCollectionTokenId$Outbound | EthCollectionTokenId$Outbound; /** @internal */ export declare const CollectionTokenId$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 CollectionTokenId$ { /** @deprecated use `CollectionTokenId$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CollectionTokenId$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CollectionTokenId$Outbound` instead. */ type Outbound = CollectionTokenId$Outbound; } export declare function collectionTokenIdToJSON(collectionTokenId: CollectionTokenId): string; export declare function collectionTokenIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=collectiontokenid.d.ts.map