import type { SkillGroup, SkillStats } from './types.js';
/** Recursively scan a directory for .md files (ignoring logs/, scripts/, docs/). Paths are relative to `baseDir`. */
export declare function scanMdFiles(dir: string, baseDir: string): string[];
/** Group scanned files by category. Sort order: skills → commands → agents. */
export declare function groupFiles(files: string[]): SkillGroup[];
/** Merge context + root skills; context wins on name conflict. */
export declare function mergeSkillDirs(contextSkillsDir: string, rootSkillsDir: string): SkillGroup[];
export declare function computeStats(groups: SkillGroup[]): SkillStats;
