import { type TPoseReport } from './tpose'; export interface VrmMetaOptions { name?: string; version?: string; authors?: string[]; copyrightInformation?: string; contactInformation?: string; references?: string[]; licenseUrl?: string; avatarPermission?: 'onlyAuthor' | 'onlySeparatelyLicensedPerson' | 'everyone'; commercialUsage?: 'personalNonProfit' | 'personalProfit' | 'corporation'; creditNotation?: 'required' | 'unnecessary'; allowRedistribution?: boolean; modification?: 'prohibited' | 'allowModification' | 'allowModificationRedistribution'; otherLicenseUrl?: string; } export interface ExportVrmOptions { /** Which scene of a multi-LOD HELIX avatar to export (0 = the highest detail). */ lod?: number; meta?: VrmMetaOptions; /** `auto` converts only when the arms are off horizontal; `off` keeps the source rest pose (not spec-valid). */ restPose?: 'auto' | 'always' | 'off'; log?: (message: string) => void; } export interface ExportVrmResult { output: string; bytes: number; humanBones: number; springs: number; springJoints: number; colliders: number; expressions: string[]; lookAt: boolean; /** `bone` when the avatar carries the importer's eye-bone lookAt, `expression` for gaze morphs. */ lookAtType?: 'bone' | 'expression'; /** Roll / rotation constraints written as `VRMC_node_constraint`. */ constraints: number; /** Where meta came from: the source VRM's own (`helixAvatar.meta`) or HELIX defaults. */ metaSource: 'imported' | 'defaults'; firstPersonAnnotations: number; materials: number; restPose: TPoseReport | { applied: false; skippedReason: string; }; warnings: string[]; } export declare function exportVrm(input: string, output: string, options?: ExportVrmOptions): Promise;