/** * 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 './helpers/vue-flags.js'; export { Meta } from './types/Meta.js'; export type { VrmCanvasExposed } from './types/VrmCanvasExposed.js'; export type { VrmAutoBlinkOptions, VrmExpressionNames, VrmExpressions } from './types/VrmExpressionTypes.js'; export type { VrmRenderContext, VrmRenderFunction, VrmRenderTargets, VrmResizePayload } from './types/VrmRenderTypes.js'; declare const VrmCanvasElement: import("vue").VueElementConstructor<{ readonly loop: boolean; readonly autoBlink: boolean | import("./types/VrmExpressionTypes.js").VrmAutoBlinkOptions; readonly bgTransparent: boolean; readonly showGrid: boolean; readonly width: string | number; readonly aspectRatio: number; readonly cameraOptions: import("./index.js").CameraOptions; readonly cameraEuler: import("./index.js").Vec3; readonly cameraOffset: import("./index.js").Vec3; readonly cameraLookAt: import("./index.js").Vec3; readonly ambientLight: import("./index.js").LightOptions; readonly directionalLight: import("./index.js").DirectionalLightOptions; } & { readonly modelData?: ArrayBuffer | undefined; readonly animationData?: import("./index.js").AnimationData | undefined; readonly animationWeights?: number[] | undefined; readonly expressions?: import("./types/VrmExpressionTypes.js").VrmExpressions | undefined; readonly bgImage?: string | undefined; readonly maxWidth?: number | undefined; readonly cameraDistance?: number | undefined; readonly shaderPass?: import("three/examples/jsm/postprocessing/ShaderPass.js").ShaderPass | undefined; readonly cameraInteraction?: import("./index.js").CameraInteractionOptions | undefined; readonly render?: import("./types/VrmRenderTypes.js").VrmRenderFunction | undefined; } & { "onAnimation:end"?: (() => any) | undefined; "onAnimation:error"?: ((_error: Error) => any) | undefined; "onAnimation:loaded"?: ((_animation: import("@pixiv/three-vrm-animation").VRMAnimation[] | import("@pixiv/three-vrm-animation").VRMAnimation) => any) | undefined; "onAnimation:loading"?: (() => any) | undefined; "onAnimation:pause"?: (() => any) | undefined; "onAnimation:resume"?: (() => any) | undefined; "onAnimation:start"?: (() => any) | undefined; "onAnimation:stop"?: (() => any) | undefined; "onCamera:change"?: ((_payload: import("./index.js").CameraChangePayload) => any) | undefined; "onCamera:options-change"?: ((_payload: Required) => any) | undefined; onError?: ((_error: Error) => any) | undefined; "onLight:ambient-change"?: ((_payload: import("./index.js").LightOptions) => any) | undefined; "onLight:directional-change"?: ((_payload: import("./index.js").LightOptions & { position: import("three").Vector3; }) => any) | undefined; "onModel:error"?: ((_error: Error) => any) | undefined; "onModel:loaded"?: ((_vrm: import("@pixiv/three-vrm").VRM) => any) | undefined; "onModel:loading"?: (() => any) | undefined; "onModel:unloaded"?: (() => any) | undefined; "onRenderer:dispose"?: (() => any) | undefined; "onRenderer:ready"?: ((_targets: import("./types/VrmRenderTypes.js").VrmRenderTargets) => any) | undefined; onResize?: ((_payload: import("./types/VrmRenderTypes.js").VrmResizePayload) => any) | undefined; }>; /** * Register the element as a custom element under the given tag name. * * Does nothing if the tag name is already defined. A constructor can only be defined once per * custom element registry, so register a single tag name per page and do not combine this with * `vue-vrm/wc-auto` (which registers ``). * * @param tagName - Custom element tag name (must contain a hyphen) */ export declare function register(tagName: string): void; export { VrmCanvasElement as default };