import { Ref, Lerna, Pkg, Result } from './types.js'; export declare function readJson(dir: string, file: string): Promise; export declare function readJsonSync(dir: string, file: string): T | undefined; export declare function yarnlize(dir: string, ref: Ref, pkg?: Pkg): Result<'yarn' | 'bolt'> | undefined; export declare function lernalize(dir: string, lerna?: Lerna): Result<'lerna'> | undefined; export declare function pnpmlize(dir: string, exists: boolean): Result<'pnpm'> | undefined; export declare function rollup(result: Result | undefined, ref: Ref): Result;