type EnvReader = (key: string) => string | undefined; /** Resolve the cache root for the project served by a dev-server entry point. */ export declare function resolveDevServerCacheDir(projectDir: string, read?: EnvReader): string; /** Run dev-server startup or request work in its project cache context. */ export declare function runWithDevServerCacheDir(projectDir: string, operation: () => T, read?: EnvReader): T; export {}; //# sourceMappingURL=cache-context.d.ts.map