/**
 * Filesystem skill content loader.
 *
 * Reads a Claude-style skill from `~/.claude/skills/<name>/` and
 * returns its full text content (SKILL.md without frontmatter +
 * every file under reference/) concatenated as a single system-
 * prompt prefix. Used by the prompt-runner when the resolved AI
 * provider is NOT claude-cli (claude-cli auto-loads skills via its
 * native mechanism; other providers — anthropic, openai-compatible,
 * stub — see only what's in the prompt body, so we have to inline
 * the skill ourselves).
 *
 * Single source of truth: the skill content lives at one filesystem
 * location. claude-cli reads it directly; non-claude-cli providers
 * read it through this loader and receive the same content.
 *
 * Project-local skills (`<cwd>/.claude/skills/<name>/`) take
 * precedence over global skills (`~/.claude/skills/<name>/`) — mirrors
 * Claude Code's own resolution order.
 *
 * Returns null when the skill isn't installed anywhere — callers fall
 * back to the thin prompt as-is.
 */
/** Compiled skill content ready for prompt prefixing. */
export interface LoadedSkillContent {
    /** Skill name (e.g. `'realize-emit'`). */
    name: string;
    /** Resolved skill directory the content was loaded from. */
    skillDir: string;
    /** Full concatenated text: SKILL.md body + reference/*.md, separated
     *  by section headers. Frontmatter is stripped. */
    text: string;
    /** Filenames included (relative to skillDir), in load order. */
    files: string[];
}
/**
 * Load a skill by name. Search order:
 *   1. `<cwd>/.claude/skills/<name>/` (project-local)
 *   2. `~/.claude/skills/<name>/` (global)
 *
 * Returns null when the skill is not installed in either location.
 */
export declare function loadSkillContent(name: string, cwd?: string): LoadedSkillContent | null;
/**
 * Convenience: is the skill installed somewhere we'd find it?
 * Used by callers that want to short-circuit content loading for the
 * cheap "absent" path.
 */
export declare function isSkillInstalled(name: string, cwd?: string): boolean;
//# sourceMappingURL=skill-loader.d.ts.map