/**
 * Route Analytics Module
 *
 * Route statistics and hit tracking extracted from VirtualRouterEngine.
 */
import type { RouterMetadataInput } from '../types.js';
import type { VirtualRouterHitRecord } from '../engine-logging.js';
export interface RouteLastHit {
    timestampMs: number;
    reason?: string;
    requestTokens?: number;
    selectionPenalty?: number;
    stopMessageActive: boolean;
    stopMessageMode?: 'on' | 'off' | 'auto';
    stopMessageRemaining?: number;
}
export interface RouteStats {
    hits: number;
    lastProvider: string;
    lastHit: RouteLastHit;
}
export declare class RouteAnalytics {
    private routeStats;
    incrementRouteStat(routeName: string, providerKey: string, hitRecord: VirtualRouterHitRecord): void;
    getRouteStats(routeName: string): RouteStats | undefined;
    getAllRouteStats(): Map<string, RouteStats>;
    extractExcludedProviderKeySet(metadata: RouterMetadataInput | undefined): Set<string>;
}
