import * as PIXI from 'pixi.js';
import { Mesh2D } from '@turbox3d/renderer-pixi';
import { Vec2 } from '@turbox3d/shared';
interface IText2dProps {
    text: string;
    style?: Partial<PIXI.TextStyle>;
    x?: number;
    y?: number;
    width?: number;
    height?: number;
    rotation?: number;
    scale?: Vec2;
    central?: boolean;
    zIndex?: number;
    getBounds?: (bounds: Vec2) => void;
}
/** UI组件-文字 */
export default class Text2d extends Mesh2D<IText2dProps> {
    protected view: PIXI.Text;
    protected reactivePipeLine: (() => void)[];
    updateGeometry(): void;
    updateMaterial(): void;
    updatePosition(): void;
    updateRotation(): void;
    updateScale(): void;
    private getBounds;
    componentDidMount(): void;
    componentDidUpdate(): void;
}
export {};
