import { HMSException } from '../../error/HMSException';
import { EventBus } from '../../events/EventBus';
export declare class VideoPluginsAnalytics {
    private eventBus;
    private readonly TAG;
    private readonly initTime;
    private readonly addedTimestamps;
    private readonly preProcessingAvgs;
    private readonly processingAvgs;
    private readonly pluginAdded;
    private readonly pluginInputFrameRate;
    private readonly pluginFrameRate;
    constructor(eventBus: EventBus);
    added(name: string, inputFrameRate?: number, pluginFrameRate?: number): void;
    removed(name: string): void;
    failure(name: string, error: HMSException): void;
    initWithTime<T>(name: string, initFn: () => Promise<T>): Promise<void>;
    preProcessWithTime<T>(preProcessFn: () => Promise<T>): Promise<void>;
    processWithTime<T>(name: string, processFn: () => Promise<T>): Promise<void>;
    private timeInMs;
    private clean;
}
