import { type CliTelemetry } from "./telemetry.js"; export type SkillClient = "codex" | "claude-code" | "cowork" | "pi" | "cursor" | "opencode" | "github-copilot"; export type SkillScope = "project" | "user"; export type PlanMode = "hosted" | "local-files" | "self-hosted"; export interface SkillEntry { name: string; dir: string; description?: string; } export interface InstallSkillsOptions { source?: string; skillNames?: string[]; clients?: SkillClient[]; scope?: SkillScope; baseDir?: string; yes?: boolean; dryRun?: boolean; updateInstructions?: boolean; instructionFiles?: string[]; withGithubAction?: boolean; force?: boolean; connect?: boolean; quiet?: boolean; deviceFlowTimeoutMs?: number; log?: (message: string) => void; isInteractive?: () => boolean; telemetry?: CliTelemetry; promptSkills?: (context: SkillsPromptContext) => Promise; promptClients?: (context: ClientsPromptContext) => Promise; promptScope?: (context: ScopePromptContext) => Promise; promptUpdateInstructions?: () => Promise; promptGithubAction?: (context: GithubActionPromptContext) => Promise; promptPlanMode?: (context: PlanModePromptContext) => Promise; promptPlanMcpUrl?: () => Promise; /** * Register the hosted MCP server for app-backed skills (e.g. visual-plan / * visual-recap → the Agent-Native Plan MCP). Defaults to `true`; pass * `false` (CLI `--no-mcp`) to install the skill files only. */ mcp?: boolean; planMode?: PlanMode; mcpUrl?: string; } export interface InstalledMcpServer { serverName: string; mcpUrl: string; clients: SkillClient[]; registeredClients: SkillClient[]; files: string[]; authenticated: boolean; guidance: string[]; } export interface InstallSkillsResult { source: string; skills: string[]; clients: SkillClient[]; scope: SkillScope; written: string[]; instructionFiles: string[]; githubActionPath?: string; mcpServers: InstalledMcpServer[]; planMode?: PlanMode; dryRun: boolean; } interface ParsedArgs { command: "add" | "list" | "status" | "update" | "help"; source?: string; copySource: boolean; skillNames: string[]; clients: SkillClient[]; scope: SkillScope; scopeExplicit: boolean; yes: boolean; dryRun: boolean; printJson: boolean; updateInstructions?: boolean; instructionFiles: string[]; withGithubAction: boolean; force: boolean; connect: boolean; baseDir?: string; mcp: boolean; planMode?: PlanMode; mcpUrl?: string; quiet: boolean; } interface PromptOption { value: T; label: string; hint: string; } export interface SkillsPromptContext { initialSkills: string[]; options: Array>; } export interface ClientsPromptContext { initialClients: SkillClient[]; options: Array>; } export interface ScopePromptContext { initialScope: SkillScope; } export interface GithubActionPromptContext { workflowPath: string; setupCommand: string; docsUrl: string; } export interface PlanModePromptContext { initialMode: PlanMode; } export declare function parseSkillsCliArgs(argv: string[]): ParsedArgs; export declare function runSkillsCli(argv: string[], options?: Pick): Promise; export declare function installSkills(options: InstallSkillsOptions): Promise; export declare function createInstallId(): string; export {}; //# sourceMappingURL=index.d.ts.map