import { StreamMetrics, StreamMetricsOptions, MetricsState } from "./types";
export declare class StreamMetricsCollector {
    private readonly options;
    private readonly state;
    private readonly metrics;
    private lastMetricTime;
    static readonly DEFAULT_OPTIONS: Required<StreamMetricsOptions>;
    constructor(options?: Partial<StreamMetricsOptions>);
    processToken(token: string): Promise<StreamMetrics | null>;
    getMetricsState(): MetricsState;
    private updateState;
    private shouldCollectMetrics;
    private calculateMetrics;
}
