type ProbeProcess = { kill(): unknown; on(event: 'error', listener: () => void): unknown; on(event: 'close', listener: (code: number | null) => void): unknown; }; type SpawnProbe = (command: string, args: string[], options: { env: NodeJS.ProcessEnv; stdio: 'ignore'; windowsHide: true; }) => ProbeProcess; export declare function resolveServerCommand(command: string, cwd: string): Promise; export declare function findLocalBinary(cwd: string, command: string): Promise; export declare function commandExistsOnPath(command: string, timeoutMs?: number): Promise; declare function commandProbe(command: string, timeoutMs: number, platform: NodeJS.Platform, spawnProbe: SpawnProbe): Promise; declare function commandCandidates(command: string, platform?: NodeJS.Platform): string[]; declare function fileExists(filePath: string): Promise; declare function shellQuote(value: string): string; /** Direct-module test seam; not re-exported by the package barrel. */ export declare const commandResolverCoverage: { commandCandidates: typeof commandCandidates; commandProbe: typeof commandProbe; fileExists: typeof fileExists; shellQuote: typeof shellQuote; }; export {}; //# sourceMappingURL=command-resolver.d.ts.map