@rnx-kit/tools-react-native
Version:
A collection of supplemental react-native functions and types
12 lines • 684 B
TypeScript
import type { Config } from "@react-native-community/cli-types";
import * as nodefs from "node:fs";
export declare function getCurrentState(projectRoot: string): string;
export declare function getSavedState(projectRoot: string,
/** @internal */ fs?: typeof nodefs): string | false;
export declare function invalidateState(projectRoot?: string,
/** @internal */ fs?: typeof nodefs): void;
export declare function loadConfigFromCache(projectRoot: string,
/** @internal */ fs?: typeof nodefs): Config | null;
export declare function saveConfigToCache(projectRoot: string, state: string, config: Config,
/** @internal */ fs?: typeof nodefs): void;
//# sourceMappingURL=cache.d.ts.map