import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { Blockchain } from "./blockchain.js"; import { Creator, Creator$Outbound } from "./creator.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ItemHistory, ItemHistory$Outbound } from "./itemhistory.js"; import { Order, Order$Outbound } from "./order.js"; import { OriginOrders, OriginOrders$Outbound } from "./originorders.js"; import { OwnershipSource } from "./ownershipsource.js"; export type Ownership = { id: string; blockchain: Blockchain; /** * Item Id, has format `ETHEREUM:${token}:${tokenId}` */ itemId?: string | undefined; /** * Blockchain contract address in Union format `ETHEREUM:${token}` */ contract?: string | undefined; /** * Collection id */ collection?: string | undefined; tokenId?: string | undefined; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ owner: string; value: string; source?: OwnershipSource | undefined; createdAt: Date; lastUpdatedAt?: Date | undefined; /** * Creators of the target item * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ creators?: Array | undefined; lazyValue: string; /** * Pending information about the item */ pending: Array; bestSellOrder?: Order | undefined; originOrders?: Array | undefined; version?: number | undefined; }; /** @internal */ export declare const Ownership$inboundSchema: z.ZodType; /** @internal */ export type Ownership$Outbound = { id: string; blockchain: string; itemId?: string | undefined; contract?: string | undefined; collection?: string | undefined; tokenId?: string | undefined; owner: string; value: string; source?: string | undefined; createdAt: string; lastUpdatedAt?: string | undefined; creators?: Array | undefined; lazyValue: string; pending: Array; bestSellOrder?: Order$Outbound | undefined; originOrders?: Array | undefined; version?: number | undefined; }; /** @internal */ export declare const Ownership$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 Ownership$ { /** @deprecated use `Ownership$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Ownership$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Ownership$Outbound` instead. */ type Outbound = Ownership$Outbound; } export declare function ownershipToJSON(ownership: Ownership): string; export declare function ownershipFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=ownership.d.ts.map