import { ElementRef, SimpleChanges, OnChanges, AfterViewInit } from '@angular/core';
import * as i0 from "@angular/core";
export declare class VideoTextComponent implements OnChanges, AfterViewInit {
    /** 文本内容 */
    ncText: string;
    /** 视频源 */
    ncSrc: string;
    textContentRef: ElementRef<HTMLSpanElement>;
    svgTextRef: ElementRef<SVGTextElement>;
    dimensions: {
        width: number;
        height: number;
    };
    isReady: boolean;
    textStyle: Partial<CSSStyleDeclaration>;
    maskId: string;
    constructor();
    ngOnChanges(changes: SimpleChanges): void;
    ngAfterViewInit(): void;
    private start;
    private computeTextStyles;
    private updateDimensions;
    getStyleString(): string;
    private extractTextStyles;
    static ɵfac: i0.ɵɵFactoryDeclaration<VideoTextComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<VideoTextComponent, "nc-video-text", never, { "ncText": "ncText"; "ncSrc": "ncSrc"; }, {}, never, never>;
}
