export type AgentKind = 'claude' | 'cursor' | 'copilot' | 'windsurf' | 'roo' | 'augment' | 'continue' | 'trae' | 'unknown'; export interface AgentInfo { name: string; skillsDir: string; } export declare const AGENT_REGISTRY: Record, AgentInfo>; export interface AgentRootResult { root: string; agent: AgentKind; } /** * Walk up from `cwd` to find the best directory for installing agent skills. * * 1. Look for agentic markers (.claude/, .cursor/, CLAUDE.md, etc.) * 2. Fall back to the git root (.git) * 3. Fall back to `cwd` */ export declare function findAgentRoot(cwd: string): AgentRootResult; export declare function isSkillInstalledAt(root: string, agent: AgentKind): boolean; //# sourceMappingURL=agent-detect.d.ts.map