import type { SkillDocs } from "./skillinfo.js"; export declare class SkillDocFileError extends Error { readonly code: "SKILL_DOC_FILE_INVALID" | "SKILL_DOC_FILE_MISSING"; constructor(code: "SKILL_DOC_FILE_INVALID" | "SKILL_DOC_FILE_MISSING", message: string); } /** The docs command's aliases are not arbitrary bundle paths (skills load supports those). */ export declare function resolveSkillDocFile(file?: string): "SKILL.md" | "README.md" | "CLAUDE.md" | undefined; /** Fall back only when no file was requested, identically for text, JSON and SDK reads. */ export declare function selectSkillDoc(docs: SkillDocs, file?: string): string | null;