import type { HelixApi } from './api'; type Requester = Pick; export interface WearableKit { schema: string; classes: string[]; slots: Record; authoredBodies: Array<{ id: string; }>; [k: string]: unknown; } export interface WearableResult { packageVersionId: string | null; draftItemId: string | null; verdict: 'pending' | 'pass' | 'refused'; issues: Array<{ code: string; message: string; path?: string; }>; } export interface WearablePublishOptions { slot: string; title?: string; description?: string; authoredBody?: string; /** rigid: `face` or `bone:` (default: the slot's first anchor, read from the kit) */ anchor?: string; /** rigid: "tx,ty,tz,rx,ry,rz,s" (cm, degrees, scale) */ offset?: string; /** param: a mask image next to the descriptor, optional */ mask?: string; } export declare function parseOffset(text: string | undefined): { t: number[]; r: number[]; s: number; }; /** The POST body for one wearable (pure: tested without a network). The class comes from the kit, never from the file name. */ export declare function buildWearableBody(kit: WearableKit, o: WearablePublishOptions, ids: { file: string; fileCid: string; maskCid?: string; param?: Record; }): Record; export declare function wearableKit(api: Requester): Promise; export declare function wearableStatus(api: Requester, packageVersionId: string): Promise; export declare function wearablePublish(api: HelixApi, file: string, o: WearablePublishOptions): Promise; export declare function renderWearableResult(r: WearableResult): string[]; export {};