import type { PackageManager } from "../../core/types/index.js"; /** * Build a command string for executing a tool in the current project. * * Strategy: * 1) Prefer a local binary found in node_modules/.bin (walk up from cwd). * 2) If absent, fall back to the selected package manager: * - pnpm: `pnpm exec ...` * - yarn: `yarn run ...` (works with Yarn PnP) * * For npm when node_modules/.bin is missing, we render a local .bin fallback path; execution will fail fast * if dependencies are not installed, without triggering implicit downloads. */ export declare function buildToolCommand(params: { readonly cwd: string; readonly packageManager: PackageManager; readonly bin: string; readonly args: readonly string[]; }): string; //# sourceMappingURL=tool-command.d.ts.map