export declare type State = { lastSync: number; hasAddedReact: boolean; }; export declare const addScriptDependency: (...scripts: string[]) => void; export declare const installDependencies: (deps: string[], type: '' | 'dev' | 'peer' | 'optional') => Promise; export declare const formatJSON: (obj: unknown) => string; export declare const mutatePackageJSON: (diffs: Record) => void; export declare const getState: () => State; export declare const setState: (diffs: Partial) => void; export declare const store: >(filePath: string, diffs?: Partial | undefined, defaults?: T | undefined) => T;