import { ElementRef, AfterViewInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; export declare class RdLoadingComponent implements AfterViewInit, OnDestroy, OnChanges { lottieContainer: ElementRef; /** * 动画容器尺寸(px)。 * * **注意**:OPLoading.json 原始尺寸为 368×368,模板内通过 `scale(0.17)` 缩放以消除锯齿。 * 实际显示尺寸 = `size × 0.173`。 * * @example * // 默认 ≈ 64px * * * // ≈ 40px * */ size: number; loop: boolean; autoplay: boolean; speed: number; margin: string; containerClass: string; customAnimationData?: any; private animation; private get animationData(); ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private loadAnimation; private reloadAnimation; private destroyAnimation; /** 停止动画 */ stop(): void; /** 设置播放速度 */ setSpeed(speed: number): void; /** 跳转到指定帧并播放 */ goToAndPlay(value: number, isFrame?: boolean): void; /** 跳转到指定帧并停止 */ goToAndStop(value: number, isFrame?: boolean): void; /** 获取动画总帧数 */ getTotalFrames(): number; /** 获取动画持续时间(秒) */ getDuration(): number; /** 重新启动动画 */ restart(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }