import * as THREE from "three"; import type { Vector3Tuple } from "three"; /** * Manages information display panel for the CAD viewer. * Shows bounding box info, version info, and other contextual information. */ declare class Info { html: HTMLElement; number: number; chunks: [number, string][]; /** * Create an Info panel instance. * @param html - The HTML container element for info display. */ constructor(html: HTMLElement); /** * Clear all displayed information. */ clear(): void; /** * Dispose of resources and clear the container. */ dispose(): void; /** * Add plain text as a preformatted block. * @param msg - The text message to display. */ addText(msg: string): void; /** * Add HTML content to the info panel. * New content appears at the top of the list. * @param html - The HTML string to add. */ addHtml(html: string): void; /** * Render all chunks to the container as a table. */ private render; /** * Display version information for CadQuery and Jupyter CadQuery. * @param cqVersion - CadQuery version string. * @param jcqVersion - Jupyter CadQuery version string. */ versionMsg(cqVersion: string, jcqVersion: string): void; /** * Display the ready message with viewer version and control mode. * @param version - Viewer version string. * @param control - Control mode name (e.g., "orbit", "trackball"). */ readyMsg(version: string, control: string): void; /** * Display bounding box information for a selected object. * @param path - The object's path in the tree. * @param name - The object's name. * @param bb - The bounding box to display. */ bbInfo(path: string, name: string, bb: THREE.Box3): void; /** * Display camera target center information. * @param center - The center coordinates [x, y, z]. */ centerInfo(center: Vector3Tuple): void; } export { Info };