import { type AgentId } from '../agents/registry'; import { type McpTargetState } from './installMcp'; import { type Platform } from '../config/mcpConfig'; import { type DriftState } from '../lib/inspect'; export interface InspectOptions { cwd: string; agents: AgentId[]; json: boolean; /** * `{KEY}` substitutions to compare MCP files against. Must match whatever * was passed to `init`/`update`, otherwise every project that uses * placeholders in mcp.yaml looks like it's drifted. */ mcpVars: Record; /** Override platform detection — used by tests to exercise non-host platforms. */ platform?: Platform; } type InstructionsStatus = 'ok' | 'native' | 'missing' | 'wrong'; type ResourceStatus = 'ok' | 'missing'; export interface InspectEntry { label: string; status: InstructionsStatus; note: string; agentDisplay: string; skillsStatus: ResourceStatus; skillsDir: string; } export type McpStatusKind = 'ok' | 'missing' | 'empty' | 'partial' | 'drift' | 'no-servers'; export interface InspectResult { instructionFileOk: boolean; claudeSettings: { status: DriftState; }; /** Per-script drift (key = script filename inside .claude/hooks/). Empty when template dir absent. */ hooks: Record; mcp: { status: McpStatusKind; targets?: Record; servers?: string[]; }; entries: InspectEntry[]; issues: number; /** Convenience flag — `true` when an existing settings.json file is on disk regardless of content drift. */ claudeSettingsOk: boolean; } export declare function runInspect(opts: InspectOptions): InspectResult; export declare function printInspectHelp(): void; export declare function parseInspectArgs(args: string[]): InspectOptions | { help: true; }; export declare function inspectCommand(args: string[]): number; export {};