import { AfterViewInit, ElementRef, OnDestroy, SimpleChanges, OnChanges, NgZone } from '@angular/core'; import * as i0 from "@angular/core"; export declare class AutoScrollTextComponent implements AfterViewInit, OnDestroy, OnChanges { private ngZone; textContainer: ElementRef; scrollText: ElementRef; private animationId; private position; private isPaused; private lastTimestamp; private pauseStartTime; /** 滚动文本 */ ncText: string; /** 滚动速度,单位为像素/秒 */ ncSpeed: number; /** 是否开启无缝滚动 */ private _loop; set ncLoop(val: boolean | string); get ncLoop(): boolean; /** 开启无缝滚动时,间距,单位为像素 */ ncGap: number; /** 是否启用鼠标悬停暂停滚动 */ private _pause; set ncPause(val: boolean | string); get ncPause(): boolean; constructor(ngZone: NgZone); ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; onMouseEnter(): void; onMouseLeave(): void; private startScrolling; private resetScroll; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }