import type { CliCredentials } from './config'; export declare const PUBLICATIONS_UPLOAD_PATH = "/api/v1/publications/upload"; export declare const ITEMS_FROM_PACKAGE_PATH = "/api/v1/items"; export type PublicationOffer = { channel: 'marketplace' | 'world'; priceLix: number; worldId?: string; key?: string; maxPerPlayer?: number; maxClaims?: number; startsAt?: string; endsAt?: string; }; export type PublishGlbOptions = { mesh: string; title: string; contentRating?: 'everyone' | 'teen' | 'mature' | 'adult'; packageType?: 'asset' | 'character'; intentId?: string; visibility?: 'public' | 'private'; vaultListing?: 'auto' | 'none'; offer?: PublicationOffer; edition?: 'standard' | 'collectible'; collectibleSupply?: number; category?: string; description?: string; tags?: string[]; }; export type PublicationReceipt = { intentId: string; package: { packageId: string; version: string; manifestCid: string; type: string; visibility: string; created: boolean; }; item: null | { created?: boolean; item: { id: string; packagePin: { packageId: string; version: string; manifestCid: string; }; }; creatorCopy: null | { inventoryItemId: string; serial: number | null; soulbound: boolean; }; creatorGrantIssued?: boolean; distributions: Array<{ id: string; channel: string; active: boolean; available?: boolean; startsAt?: string | null; endsAt?: string | null; }>; channelsDeferred?: { reason: string; channels: string[]; }; }; vaultListing: { state: string; }; verification?: { ok: boolean; warnings: string[]; }; }; export type PublicationApi = { postMultipart(path: string, form: FormData): Promise; }; export type PackagePin = { packageId: string; version: string; manifestCid: string; }; export type MakeItemOptions = { intentId?: string; packagePin: PackagePin; contentRating: 'everyone' | 'teen' | 'mature' | 'adult'; title?: string; description?: string; category?: string; edition?: 'standard' | 'collectible'; collectibleSupply?: number; tags?: string[]; offer?: PublicationOffer; personal?: boolean; }; export type MadeItemReceipt = NonNullable; export type ItemApi = { request(pathMethod: 'POST', path: string, body: unknown): Promise; }; export type PublishOwnedItemOptions = { itemId: string; intentId?: string; packagePin: PackagePin; contentRating: 'everyone' | 'teen' | 'mature' | 'adult'; acceptRatingAttestation: true; }; /** Publish a personal Item without changing its identity or minting an offer. */ export declare function publishOwnedItemFromPackage(options: PublishOwnedItemOptions, creds: CliCredentials, deps?: { api?: ItemApi; }): Promise; /** Project an owned, sealed exact Package Version into one ownable Item. */ export declare function makeItemFromPackage(options: MakeItemOptions, creds: CliCredentials, deps?: { api?: ItemApi; }): Promise; /** One authoritative request: seal the GLB into a Package, then optionally open its first offer. */ export declare function publishGlb(options: PublishGlbOptions, creds: CliCredentials, deps?: { api?: PublicationApi; }): Promise;