import type { Result } from "../result/result.js";
import type { ReadNodeVersionsFailureReason } from "../node/read.js";
import type { Project } from "./project.js";
import type { ReadJsonFailureReason } from "./read-json.js";
export type ReadProjectResult = Result<ReadProjectFailureReason, Project>;
export type ReadProjectFailureReason = ReadJsonFailureReason | ReadNodeVersionsFailureReason;
export declare function readProject(path: string): Promise<ReadProjectResult>;
