import { PackageJson } from 'type-fest'; /** * We have not tried to compute this specific value yet. */ export type Unknown = { state: 'not-attempted'; }; /** * We have already tried to compute this specific value but failed. There is no reason to try it again. */ export type Failed = { state: 'attempt-has-failed'; }; /** * We have already tried to compute this specific value and succeeded. */ export type Cached = { state: 'value-has-been-cached'; value: T; }; export type CachedValue = Unknown | Failed | Cached; export declare const unknown: Unknown; export declare function readPackageJson(): Promise; export declare function _resetOnlyForTesting(): void; //# sourceMappingURL=packageJsonUtil.d.ts.map