/** * File-based Skill Loader * * Resolves and loads skill files from OpenCode and Claude-compatible paths. * Implements strict skill ID validation and deterministic search order. */ import type { SkillLoadResult } from './types.js'; /** * Load a skill from file-based locations. * * Searches for skill files in the following order: * 1. Project OpenCode: `/.opencode/skills//SKILL.md` * 2. Global OpenCode: `~/.config/opencode/skills//SKILL.md` * 3. Project Claude-compatible: `/.claude/skills//SKILL.md` * 4. Global Claude-compatible: `~/.claude/skills//SKILL.md` * * @param skillId - The skill ID to load * @param projectRoot - The project root directory * @param homeDir - The user's home directory * @returns The skill load result */ export declare function loadFileSkill(skillId: string, projectRoot: string, homeDir: string): Promise;