import { Signal } from '@preact/signals-core'; import { Plane, Vector3 } from 'three'; import { Component } from './component.js'; import { BaseOutProperties, InProperties, WithSignal } from '../properties/index.js'; import { alignmentZMap } from '../utils.js'; import { RenderContext } from '../context.js'; export declare const contentDefaults: { depthAlign: keyof typeof alignmentZMap; keepAspectRatio: boolean; scrollbarWidth: number; visibility: Required["visibility"]; opacity: number | `${number}%`; depthTest: boolean; renderOrder: number; fontSize: Required["fontSize"]; letterSpacing: Required["letterSpacing"]; lineHeight: Required["lineHeight"]; wordBreak: Required["wordBreak"]; verticalAlign: keyof typeof import("../utils.js").alignmentYMap; textAlign: keyof typeof import("../utils.js").alignmentXMap | "justify"; fontWeight: import("../index.js").FontWeight; caretWidth: number; receiveShadow: boolean; castShadow: boolean; panelMaterialClass: NonNullable; pixelSize: number; anchorX: keyof typeof import("../utils.js").alignmentXMap; anchorY: keyof typeof import("../utils.js").alignmentYMap; tabSize: number; whiteSpace: import("../text/layout.js").WhiteSpace; }; export type ContentOutProperties = typeof contentDefaults & BaseOutProperties; export type ContentProperties = InProperties; export type BoundingBox = { size: Vector3; center: Vector3; }; export declare class Content extends Component { protected readonly inputConfig?: { remeasureOnChildrenChange?: boolean; depthWriteDefault?: boolean; supportFillProperty?: boolean; boundingBox?: Signal; defaultOverrides?: InProperties; renderContext?: RenderContext; defaults?: WithSignal; } | undefined; readonly boundingBox: Signal; readonly clippingPlanes: Array; private readonly childrenMatrix; constructor(inputProperties?: InProperties, initialClasses?: Array | string>, inputConfig?: { remeasureOnChildrenChange?: boolean; depthWriteDefault?: boolean; supportFillProperty?: boolean; boundingBox?: Signal; defaultOverrides?: InProperties; renderContext?: RenderContext; defaults?: WithSignal; } | undefined); private childUpdateWorldMatrix; private timeoutRef?; private debounceNotifyAncestorsChanged; notifyAncestorsChanged(): void; updateWorldMatrix(updateParents: boolean, updateChildren: boolean): void; clone(recursive?: boolean): this; dispose(): void; }