import { Camera, Mesh, Object3D, XRTargetRaySpace } from 'three'; import { ModelScene } from './ModelScene.js'; import { PlacementBox } from './PlacementBox.js'; export declare class XRMenuPanel extends Object3D { private panelMesh; private exitButton; private goalOpacity; private opacityDamper; constructor(); createButton(label: string, options?: { width?: number; height?: number; fontSize?: number; textColor?: string; backgroundColor?: string; fontFamily?: string; }): Mesh; exitButtonControllerIntersection(scene: ModelScene, controller: XRTargetRaySpace): import("three").Intersection> | undefined; updatePosition(camera: Camera, placementBox: PlacementBox): void; /** * Set the box's visibility; it will fade in and out. */ set show(visible: boolean); /** * Call on each frame with the frame delta to fade the box. */ updateOpacity(delta: number): void; dispose(): void; }