import type { Tool } from '@wrongstack/core/types'; export type InstallSaveType = 'dependency' | 'dev' | 'optional'; export interface InstallInput { packages?: string | string[] | undefined; save?: InstallSaveType | undefined; cwd?: string | undefined; dry_run?: boolean | undefined; global?: boolean | undefined; /** * Allow package lifecycle scripts (`preinstall`, `install`, `postinstall`, * `prepare`, …) to run during the install. Defaults to `false` — installs * pass `--ignore-scripts` so a malicious package cannot execute arbitrary * code at install time. Setting `true` opts in to the legacy behavior. */ lifecycleScripts?: boolean | undefined; } export interface InstallOutput { packages: string[]; exit_code: number; output: string; dry_run: boolean; truncated: boolean; } export type InstallContext = Parameters['execute']>[1]; export declare const installTool: Tool; //# sourceMappingURL=install.d.ts.map