import type { Engine } from '@galacean/effects-core';
import { spec, TextComponentBase } from '@galacean/effects-core';
import { ThreeSpriteComponent } from './three-sprite-component';
export interface ThreeTextComponent extends TextComponentBase {
}
/**
 * @since 2.0.0
 */
export declare class ThreeTextComponent extends ThreeSpriteComponent {
    isDirty: boolean;
    canvas: HTMLCanvasElement;
    context: CanvasRenderingContext2D | null;
    constructor(engine: Engine, props?: spec.TextContent);
    onUpdate(dt: number): void;
    fromData(data: spec.SpriteComponentData): void;
    updateWithOptions(options: spec.TextContentOptions): void;
    updateTexture(flipY?: boolean): void;
}
