export interface SkillStat { activations: number; successes: number; failures: number; lastRun: string | null; } export type SkillStats = Record; /** * Per-skill usage analytics (#625). Local-only and privacy-preserving by * construction: it records the skill *name* and three counters, never * prompts, arguments, or results. Set `analytics.enabled: false` in * `.agenthood/config.json` to opt out. */ export declare function statsPath(projectPath: string): string; export declare function analyticsEnabled(projectPath: string): boolean; export declare function readSkillStats(projectPath: string): SkillStats; /** Records one activation attempt. A no-op when analytics are opted out. */ export declare function recordSkillActivation(projectPath: string, skill: string, success: boolean): void; /** Successful activations as a share of attempts; null when never tried. */ export declare function triggerRate(stat: SkillStat): number | null; //# sourceMappingURL=SkillStats.d.ts.map