import { HttpVerb, RouteFileMethod } from '../types.js'; import { ScanError } from '../support/errors.js'; export type RouteAnalysis = { errors: ScanError[]; methods?: HttpVerb[]; }; export type LayoutAnalysis = { errors: ScanError[]; }; export type AnalysisCacheStats = { hits: number; misses: number; }; export declare class AnalysisCache { private readonly entries; private stats; getStats(): AnalysisCacheStats; clear(): void; delete(absolutePath: string): void; analyzeRoute(absolutePath: string, rawRel: string, method: RouteFileMethod): Promise; analyzeLayout(absolutePath: string, rawRel: string): Promise; private entryFor; private readOrUndefined; }