import { DownloadedSkill, SkillsSource } from "./skills-downloader.js"; import { InstallResult } from "./skills-installer.js"; import { DetectedTool } from "./tool-detector.js"; export interface SkillsInstallFlags { target: string[]; } export interface SkillsInstallOutput { jsonMode: boolean; /** Progress note (silent in JSON mode). */ progress(message: string): void; /** Success line (silent in JSON mode, stderr otherwise). */ success(message: string): void; /** Warning (also surfaced as JSON status in JSON mode). */ warning(message: string): void; /** Raw stdout line — used for headings and skill list in non-JSON mode. */ log(message: string): void; /** Final JSON result envelope. */ emitResult(data: Record): void; } export interface SkillsInstallSummary { skills: DownloadedSkill[]; results: InstallResult[]; pluginInstalled: boolean; detectedTools: DetectedTool[]; source?: SkillsSource; } export declare function runSkillsInstall(flags: SkillsInstallFlags, output: SkillsInstallOutput): Promise;