import { access, readFile, realpath } from "node:fs/promises"; interface InstallationFileSystem { access: typeof access; readFile: typeof readFile; realpath: typeof realpath; } interface InspectInstallationOptions { entryPath?: string; env?: NodeJS.ProcessEnv; platform?: NodeJS.Platform; filesystem?: InstallationFileSystem; } export type RuntimeSource = "global" | "host" | "source-checkout"; export declare function classifyRuntimeSource(entryPath: string | undefined, globalExecutable: string | null, executable?: string | null): RuntimeSource; export declare function inspectInstallation({ entryPath, env, platform, filesystem, }?: InspectInstallationOptions): Promise<{ globalInstallationPresent: boolean; versionError?: string; source: RuntimeSource; entry: string; executable: string | null; packageRoot: string; version: string | null; }>; export {}; //# sourceMappingURL=installation.d.ts.map