export interface ResolvedCommand { /** The binary to pass to spawn() — either the CLI name or "npx". */ command: string; /** Args to prepend before the adapter's own args — empty for direct, ["--yes", ""] for npx. */ prefixArgs: string[]; } /** * Check if a CLI command is available on PATH. * Returns true if ` --version` exits with code 0, false otherwise. */ export declare function isCommandAvailable(cmd: string): Promise; /** * Resolve how to invoke a CLI adapter. * * 1. Try the bare command (fast path, zero overhead). * 2. If not found, fall back to npx with the adapter's npm package. * 3. If npx is also not available, throw with install instructions. */ export declare function resolveCommand(adapterName: string, cliCommand: string): Promise; //# sourceMappingURL=resolve.d.ts.map