import { type ChxPlugin } from '../../plugins.js'; export type AgentKind = 'claude' | 'cursor' | 'copilot' | 'windsurf' | 'roo' | 'augment' | 'continue' | 'trae' | 'unknown'; 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 const SKILL_INSTALL_COMMAND = "npx skills add obsessiondb/chkit"; export declare const HINT_INTERVAL_MS: number; export interface SkillHintState { lastDismissed?: string; } export interface SkillHintDeps { detectAgent(): AgentRootResult; isSkillInstalled(): boolean; readState(): SkillHintState; writeState(state: SkillHintState): void; promptUser(agent: AgentKind): Promise; installSkill(): Promise; now(): number; } export declare function createSkillHintPlugin(overrides?: Partial): ChxPlugin; export {}; //# sourceMappingURL=skill-hint.d.ts.map