import * as nodefs from "node:fs"; export declare const CONFIG_CACHE_KEY = "config"; export declare function getCurrentState(projectRoot: string): string; export declare function getSavedState(projectRoot: string, key?: string, /** @internal */ fs?: typeof nodefs): string | false; export declare function invalidateState(projectRoot?: string, key?: string, /** @internal */ fs?: typeof nodefs): void; export declare function loadConfigFromCache(projectRoot: string, key?: string, /** @internal */ fs?: typeof nodefs): T | null; export declare function saveConfigToCache(projectRoot: string, state: string, config: T, key?: string, /** @internal */ fs?: typeof nodefs): void; //# sourceMappingURL=cache.d.ts.map