import type { ProjectSource } from "../project/project.js";
import type { ReadJsonFailureReason } from "../project/read-json.js";
import type { Result } from "../result/result.js";
import type { File } from "../fs-stage/file.js";
export declare function modifyPackageJson(project: ProjectSource, modify: (packageJson: any) => any): Promise<Result<ReadJsonFailureReason, File>>;
