/**
 * Resolve safe paths for skill_view: only SKILL.md (default) or files under allowlisted subdirs.
 * Also provides localized SKILL.md resolution for multi-language display.
 */
import type { Skill, SkillMarkdownPreviewPayload } from './types.js';
export type ResolveSkillFileResult = {
    ok: true;
    absolutePath: string;
} | {
    ok: false;
    error: string;
};
/**
 * Resolve a readable file path for {@link skill}. Empty or SKILL.md → main SKILL.md file.
 * Other paths must live under references/, templates/, scripts/, or assets/.
 */
export declare function resolveSkillReadablePath(skill: Skill, subPath: string | undefined): ResolveSkillFileResult;
/**
 * Resolve a localized SKILL.md for display (e.g. SKILL-zh.md, SKILL-en.md).
 * Falls back to the base SKILL.md content if no localized file exists.
 *
 * This is the **display** path — execution always reads the base SKILL.md.
 */
export declare function resolveLocalizedSkillMarkdown(skill: Skill, lang?: string): SkillMarkdownPreviewPayload | null;
/**
 * Lightweight localized name/description lookup (frontmatter only) for list views.
 * Reuses the same SKILL-{lang}.md resolution as {@link resolveLocalizedSkillMarkdown}.
 */
export declare function resolveLocalizedSkillMeta(skill: Skill, lang: string): {
    name: string;
    description: string;
} | null;
