type DoctorEnv = Readonly>; export type DoctorCommandRunner = (command: string, args: readonly string[], env: DoctorEnv) => string | undefined; export type DoctorCommandFinder = (command: string, env: DoctorEnv) => readonly string[]; export type DoctorCommandDetectionOptions = { readonly env: DoctorEnv; readonly finder?: DoctorCommandFinder; readonly platform?: NodeJS.Platform; readonly runner?: DoctorCommandRunner; }; export declare function detectCommandOutput(command: string, args: readonly string[], options: DoctorCommandDetectionOptions): string | undefined; export declare function detectCommandVersion(command: string, args: readonly string[], options: DoctorCommandDetectionOptions): string; export {};