import {Element3D, type Element3DAttributes} from './Element3D.js' import {autoDefineElements} from '../LumeConfig.js' import {element, type ElementAttributes} from '@lume/element' /** @deprecated Use `Element3DAttributes` instead. */ export type NodeAttributes = Element3DAttributes /** @deprecated Use `Element3D` (``) instead. */ export @element('lume-node', autoDefineElements) class Node extends Element3D { /** * @property {true} isNode - * * *readonly* * * Always `true` for things that are or inherit from `Node`. * * @deprecated Use `Element3D`, ``, and `.isElement3D` instead. */ readonly isNode = true } // @ts-expect-error readonly Node.prototype.isNode = true declare module 'solid-js' { namespace JSX { interface IntrinsicElements { /** @deprecated Use Element3D () instead. */ 'lume-node': ElementAttributes } } } declare global { interface HTMLElementTagNameMap { /** @deprecated Use Element3D () instead. */ 'lume-node': Node } }