import { PackageJson } from 'type-fest'; import { Obj } from '../type'; export declare function loadJson(dir: string, filename: string): Promise; export declare function loadJsonSync(dir: string, filename: string): Obj; export declare const PKG_JSON_FILE_NAME = "package.json"; export declare function loadPkgJson(dir: string): Promise; export declare function outputPkgJson(dir: string, json: Obj): Promise;