import type { ProjectSource } from "../project/project.js";
import type { Result } from "../result/result.js";
import type { ReadJsonFailureReason } from "../project/read-json.js";
import type { File } from "../fs-stage/file.js";
export declare function modifyProjectScript(project: ProjectSource, name: string, modify: (text: string | null) => string | null): Promise<Result<ReadJsonFailureReason, File>>;
