import { access, realpath } from 'node:fs/promises'; export type CliInstallation = { prefix: string; executablePath: string; npmExecutablePath: string; }; type RunCommand = (command: string, args: string[]) => Promise; export declare const deriveGlobalCliPrefix: (realExecutablePath: string) => string | null; export declare const discoverCliInstallations: (input?: { pathValue?: string; entrypointPath?: string; platform?: NodeJS.Platform; realpathFn?: typeof realpath; accessFn?: typeof access; }) => Promise; export declare const updateCliInstallations: (input?: { dryRun?: boolean; pathValue?: string; entrypointPath?: string; installations?: CliInstallation[]; runCommand?: RunCommand; report?: (message: string) => void; }) => Promise; export {};