import { ElementRef, OnDestroy, SimpleChanges, OnChanges, AfterViewInit, NgZone } from '@angular/core';
import * as i0 from "@angular/core";
export declare class AuroraTextComponent implements AfterViewInit, OnDestroy, OnChanges {
    private ngZone;
    /** 文本内容 */
    ncText: string;
    /** 渐变颜色数组 */
    ncColors: string[];
    /** 动画速度，值越大，动画速度越快 */
    ncSpeed: number;
    textContentRef: ElementRef<HTMLSpanElement>;
    svgTextRef: ElementRef<SVGTextElement>;
    canvasRef: ElementRef<HTMLCanvasElement>;
    dimensions: {
        width: number;
        height: number;
    };
    isReady: boolean;
    textStyle: Partial<CSSStyleDeclaration>;
    maskId: string;
    private animationFrameId?;
    constructor(ngZone: NgZone);
    ngAfterViewInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
    private start;
    private clear;
    private computeTextStyles;
    private updateDimensions;
    private startAnimation;
    getStyleString(): string;
    private extractTextStyles;
    static ɵfac: i0.ɵɵFactoryDeclaration<AuroraTextComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AuroraTextComponent, "nc-aurora-text", never, { "ncText": "ncText"; "ncColors": "ncColors"; "ncSpeed": "ncSpeed"; }, {}, never, never>;
}
