import { HttpRequest, HttpResponse } from '../types'; import { MetricsCollector, MetricsConfig } from './types'; export declare class BaseMetricsCollector implements MetricsCollector { private client; private config; private collectInterval?; constructor(config: MetricsConfig); recordResponseTime(route: string, method: string, duration: number): void; recordRequestCount(route: string, method: string, statusCode: number): void; recordErrorRate(route: string, method: string, errorType: string): void; recordMemoryUsage(): void; recordCpuUsage(): void; counter(name: string, value?: number, labels?: Record): void; histogram(name: string, value: number, labels?: Record): void; gauge(name: string, value: number, labels?: Record): void; summary(name: string, value: number, labels?: Record): void; withRequestContext(req: HttpRequest, res: HttpResponse, next: () => void): void; private sanitizeRoute; private extractRoute; private getErrorType; private enrichLabels; private startPeriodicCollection; destroy(): void; }