/** * Router Metrics Utilities * * Performance metrics collection and reporting for RSC Router. */ import type { MetricsStore } from "../server/context"; /** * Create a metrics store for the request if debugPerformance is enabled */ export declare function createMetricsStore(debugPerformance: boolean): MetricsStore | undefined; /** * Log metrics to console in a formatted way */ export declare function logMetrics(method: string, pathname: string, metricsStore: MetricsStore): void; /** * Generate Server-Timing header value from metrics * Format: metric-name;dur=X.XX */ export declare function generateServerTiming(metricsStore: MetricsStore): string; //# sourceMappingURL=metrics.d.ts.map