import type { VideoFrameMessage } from './protocol';
import { ILogger } from './logger';
export declare class StreamLogger {
    private readonly _logger;
    private _frameCount;
    private _dataLengthSum;
    private _id;
    constructor(logger: ILogger);
    /**
     * Starts logging the stream metrics.
     */
    startLoggging(): void;
    /**
     * Stops logging the stream metrics.
     */
    stopLogging(): void;
    onFrame(frameMsg: VideoFrameMessage): void;
    private logMetrics;
}
