import { ElementRef, OnDestroy, SimpleChanges, OnChanges } from '@angular/core'; import * as i0 from "@angular/core"; export declare class TypingTextComponent implements OnChanges, OnDestroy { private elementRef; /** 展示的文本内容 */ ncText: string; /** 每个字符之间的延迟 */ ncDelayMultiple: number; /** 每个字符之间的间距 */ ncGap: number; /** 延迟 */ ncDelay: number; /** 是否在视图可见时才开始动画 */ private _startOnView; set ncStartOnView(val: boolean | string); get ncStartOnView(): boolean; /** 是否只执行一次动画 */ private _once; set ncOnce(val: boolean | string); get ncOnce(): boolean; displayedText: string; private observer; private typingInterval; private timeout; constructor(elementRef: ElementRef); ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private start; private clear; private setupIntersectionObserver; private startTyping; private endTyping; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }