import { Component } from './Component';
import { Entity } from '../Entity';
/**
 * 样式组件
 */
export declare class Style extends Component {
    private _buffer;
    /**
     * 实例化一个样式组件对象
     * @param entity 实体
     */
    constructor(entity: Entity);
    private _color;
    /**
     * 获取或设置颜色（十六进制）
     */
    get color(): string;
    set color(value: string);
    /**
     * 获取或设置透明度（取值范围[0,1]，需原始模型材质开启透明渲染才能生效）
     */
    get alpha(): number;
    set alpha(value: number);
    /**
     * 获取是否可以更新
     */
    private get _canUpdate();
    private _flashTween;
    /**
     * 开启闪烁
     * @param target 目标颜色
     * @param time 时间间隔
     */
    flashOn(target: string, time?: number): void;
    /**
     * 停止闪烁
     */
    flashOff(): void;
    /**
     * 获取是否开启了闪烁
     */
    get isFlashing(): boolean;
    /**
     * 释放
     */
    dispose(): void;
    /**
     * 更新所有样式值
     */
    _updateAll(): void;
}
