export interface CheckOptions { json?: boolean; /** Override skill search root (default: cwd). */ root?: string; } interface CheckRow { status: "ok" | "missing" | "warning"; message: string; } interface CheckReport { skill: string; dir: string; mcps: Array<{ name: string; } & CheckRow>; secrets: Array<{ name: string; } & CheckRow>; runtime: Array<{ key: string; } & CheckRow>; tests: CheckRow | null; exitCode: 0 | 1 | 2; } /** * Locate a skill directory by name, searching common layouts inside `root`: * - {root}/plugins//skills// * - {root}/skills// * - {root}// (flat layout) * Returns the first matching absolute path with a SKILL.md, or null. */ export declare function findSkillDir(name: string, root: string): string | null; /** * Check whether a named MCP server is configured in any known Claude config * file. Returns "configured" if found, "missing" otherwise. Tolerant of * malformed JSON — a parse error is treated as "not configured here". */ export declare function checkMcpConfigured(serverName: string, projectRoot: string): "configured" | "missing"; /** * Compare a `python3 --version` output line ("Python 3.11.4") against a * declared minimum in the form ">=3.10" or "3.10" (treated as exact-major+). * Returns true if the runtime satisfies the declaration, false otherwise. */ export declare function pythonVersionSatisfies(installed: string, declared: string): boolean; /** * Build the structured CheckReport for a skill. Pure, testable — no console * I/O. The CLI wrapper (`checkCommand`) renders this report to stdout. */ export declare function buildCheckReport(skillName: string, projectRoot: string): CheckReport; /** * CLI entry point — prints the report and exits with the appropriate code. * Never echoes secret values; only names + statuses. */ export declare function checkCommand(skillName: string, opts?: CheckOptions): Promise; export {};