import { Node } from '../core/node.js'; import { Vector } from '../core/vector.js'; import { Label } from './label.js'; import { UINode, UINodeStyle, UINodeOptions } from './ui-node.js'; export declare class Button extends UINode { style: ButtonStyle; label: Label; text: string; constructor(_node: Node, _options: ButtonOptions); protected created(options: ButtonOptions): void; paint(): void; paintLOD1(): void; offPaint(): void; reflow(): void; onPropChange(): void; } export interface ButtonStyle extends UINodeStyle { backgroundColor?: string; color?: string; fontSize?: string; font?: string; padding?: number; shadowColor?: string; shadowBlur?: number; shadowOffset?: Vector; } export interface ButtonOptions extends UINodeOptions { text?: number | string; }