/**
 * Wrap a single parsed command / subagent / tool into a one-member `Skill`.
 *
 * The flat-dir loader (step 7) runs the existing per-kind parsers and then
 * funnels each parsed config through one of these adapters. Downstream
 * registration sees a `Skill`, regardless of whether the source was a flat
 * `.md` or a bundle subdirectory file.
 *
 * Defaults:
 *   - `source.shape = 'single-file'`
 *   - `source.rootPath = filePath`
 *   - `toolsVisibility = 'global'` (preserves today's behaviour for
 *     `.nanocoder/tools/*.md`; bundles opt back via manifest)
 *   - subscriptions inherit the member as their implicit target
 */
import type { SubagentConfig } from '../subagents/types.js';
import type { CustomCommand } from '../types/commands.js';
import type { ToolEntry } from '../types/core.js';
import type { Skill, SkillPriority, SkillTrigger } from '../types/skills.js';
export interface SingleFileSkillOptions {
    filePath: string;
    priority: SkillPriority;
    subscribe?: SkillTrigger[];
}
export declare function commandToSkill(command: CustomCommand, opts: SingleFileSkillOptions): Skill;
export declare function subagentToSkill(subagent: SubagentConfig, opts: SingleFileSkillOptions): Skill;
export declare function toolToSkill(tool: ToolEntry, opts: SingleFileSkillOptions): Skill;
//# sourceMappingURL=adapters.d.ts.map