import { Node } from '../core/node.js'; import { UINode, UINodeOptions, UINodeStyle } from './ui-node.js'; import { Align } from '../common/enums.js'; export declare class Label extends UINode { style: LabelStyle; private displayText; private _text; private textWidth; private orgTextWidth; private textHeight; get text(): string; set text(text: string | number); constructor(_node: Node, options: LabelOptions); protected created(options: LabelOptions): void; paint(): void; paintLOD1(): void; offPaint(): void; reflow(): void; getBestFitString(): string; format(value: number): string; onPropChange(_oldVal: any, newVal: any): void; } export interface LabelStyle extends UINodeStyle { color?: string; backgroundColor?: string; fontSize?: string; font?: string; align?: Align; precision?: number; padding?: number; } export interface LabelOptions extends UINodeOptions { text?: string | number; }