import { type FsFacade } from './fsFacade'; import { type PromptChooseAgents, type PromptLocation, type PromptSelect } from './prompt'; type FetchImpl = (input: string, init?: RequestInit) => Promise; type TrackFn = (event: string, props?: Record) => void; export type SkillActionVerb = 'install' | 'update' | 'uninstall'; export interface RunSkillsOptions { /** `install` (default), `update` (= install), or `uninstall`. */ action?: string; local?: boolean; project?: boolean; global?: boolean; target?: string; agent?: string[]; /** Symlink install mode: one shared copy + symlinks from each agent. */ link?: boolean; /** Copy install mode: a SKILL.md in each agent's own dir (default). */ copy?: boolean; check?: boolean; dryRun?: boolean; force?: boolean; /** Skip the interactive checklist and act on all detected agents. */ yes?: boolean; output?: 'text' | 'json'; } export interface RunSkillsDeps { runId?: string; stdout: (line: string) => void; stderr: (line: string) => void; fetchImpl?: FetchImpl; fs?: FsFacade; homeDir?: string; cwd?: string; env?: Record; track?: TrackFn; isTTY?: boolean; promptSelect?: PromptSelect; promptChooseAgents?: PromptChooseAgents; promptLocation?: PromptLocation; } /** * Install, update, or uninstall the a14y agent skill across the user's coding * agents. Auto-detects configured agents, shows a checklist, and only writes * what changed (idempotent — a prior install, however it was made, reads as up * to date). Returns the process exit code. */ export declare function runSkillsCommand(opts: RunSkillsOptions, deps: RunSkillsDeps): Promise; export {};