export declare var config: { verbose: boolean; useDevelopmentPaths: boolean; }; export declare namespace CommonJSONTypes { interface TSConfig { extends?: string; compileOnSave?: boolean; compilerOptions: { target?: string; module: string; lib?: string[]; allowJs?: boolean; checkJs?: boolean; jsx?: 'preserve' | 'react-native' | 'react'; declaration?: boolean; sourceMap?: boolean; outFile?: string; outDir?: string; rootDir?: string; removeComments?: boolean; noEmit?: boolean; importHelpers?: boolean; downlevelIteration?: boolean; isolatedModules?: boolean; strict?: boolean; noImplicitAny?: boolean; strictNullChecks?: boolean; noImplicitThis?: boolean; alwaysStrict?: boolean; noUnusedLocals?: boolean; noUnusedParameters?: boolean; noImplicitReturns?: boolean; noFallthroughCasesInSwitch?: boolean; moduleResolution?: "node" | "classic"; baseUrl?: string; paths?: { [path: string]: string[]; }; rootDirs?: string[]; typeRoots?: string[]; types?: string[]; allowSyntheticDefaultImports?: boolean; sourceRoot?: string; mapRoot?: string; inlineSourceMap?: boolean; inlineSources?: boolean; experimentalDecorators?: boolean; emitDecoratorMetadata?: boolean; listFiles?: boolean; newLine?: string; noEmitOnError?: boolean; preserveConstEnums?: boolean; }; filesGlob?: string[]; exclude?: string[]; include?: string[]; files?: string[]; } interface PackageJSON { name: string; version: string; description: string; main: string; type: "module"; module?: string; author: any; files?: string[]; exports?: { [name: string]: string | { browser?: string | { require?: string; import?: string; default?: string; }; node?: string | { require?: string; import?: string; default?: string; }; import?: string | { require?: string; import?: string; default?: string; }; require?: string | { require?: string; import?: string; default?: string; }; default?: string | { require?: string; import?: string; default?: string; }; }; }; bin: { [name: string]: string; }; scripts: { [name: string]: string; }; devDependencies?: { [module: string]: string; }; dependencies?: { [module: string]: string; }; } } export declare class JSONFile { indent: string; json: Type; path: string; loaded: boolean; constructor(path: string); load(): this; save(): this; }