/** * vue-vrm * * @description Vrm viewer component for Vue 3 / WebComponents. * @author Logue * @license MIT * @version 0.4.0 * @see {@link https://github.com/logue/vue-vrm} */ import { type VRM } from '@pixiv/three-vrm'; /** * Load a VRM 1.0 model from an ArrayBuffer. * Validates the GLB binary first, then parses it with three-vrm. * * @param buffer The GLB file as an ArrayBuffer. * @returns The loaded VRM instance. * @throws If the buffer is not a valid VRM 1.0 GLB or if parsing fails. */ export declare function loadVrm(buffer: ArrayBuffer): Promise; /** * Move a VRM vertically so that its lowest point rests on y=0. * Modifies the VRM's scene position in-place. * * @param vrm The VRM instance to adjust. */ export declare function autoPositionY(vrm: VRM): void; /** * Dispose a VRM instance and free its GPU resources. * * @param vrm The VRM instance to dispose. */ export declare function disposeVrm(vrm: VRM): void;