import type { Request } from 'express';
export declare function recordLegacyApiUsage(req: Request): void;
export declare function getLegacyApiUsageSnapshot(limit?: number): {
    totalLegacyRequests: number;
    trackedPathCount: number;
    trackedCallerCount: number;
    trackedAuthSubjectCount: number;
    topPaths: Array<{
        key: string;
        count: number;
        methods: Record<string, number>;
        lastSeenAt: string;
    }>;
    topCallers: Array<{
        caller: string;
        count: number;
        lastPath: string;
        lastSeenAt: string;
    }>;
    topAuthSubjects: Array<{
        authSubject: string;
        count: number;
        lastPath: string;
        lastSeenAt: string;
    }>;
};
export declare function resetLegacyApiUsageTelemetryForTests(): void;
//# sourceMappingURL=legacyApiTelemetry.d.ts.map