import { Container } from './Container';
import { TextConfig, TextStyle } from '../types';
import { BaseScene } from "../game";
export declare class Text extends Container<TextConfig> {
    private _width?;
    private _height?;
    protected _config: TextConfig;
    text?: Phaser.GameObjects.Text;
    constructor(scene: BaseScene, config: TextConfig);
    reDraw(config: TextConfig): void;
    private layout;
    private computedLabelSize;
    private getLabelStyle;
    get Text(): string;
    set Text(text: string);
    setWidth(width: number): void;
    setStyle(textStyle: TextStyle): void;
    destroy(fromScene?: boolean): void;
}
//# sourceMappingURL=Text.d.ts.map