export type SkillScope = 'project' | 'global' | 'official' | 'path'; export type WritableSkillScope = 'project' | 'global'; export interface SkillMeta { name: string; version: string; description: string; priority: number; requiresTools: string[]; incompatibleWith: string[]; forceProvider?: string; allowFallback: boolean; maxOutputTokens?: number; timeoutMs?: number; budgetMultiplier: number; } export interface Skill { id: string; meta: SkillMeta; instructions: string; filePath: string; scope: SkillScope; } export interface SkillListEntry { id: string; name: string; description: string; version: string; path: string; scope: SkillScope; shadowed: boolean; } export interface SkillValidation { valid: boolean; errors: string[]; } export interface SkillCheckIssue { level: 'error' | 'warning'; scope: SkillScope; path: string; message: string; } export interface SkillCheckResult { ok: boolean; checked: number; issues: SkillCheckIssue[]; } export interface CreateSkillOptions { scope?: WritableSkillScope; force?: boolean; cwd?: string; } export interface ParseSkillContentOptions { id?: string; filePath: string; scope: SkillScope; } export declare function getProjectSkillsDir(cwd?: string): string; export declare function getGlobalSkillsDir(): string; export declare function getOfficialSkillsDir(): string; export declare function getSkillsDir(): string; export declare function ensureSkillsDir(scope?: WritableSkillScope, cwd?: string): string; export declare function parseSkillContent(content: string, options: ParseSkillContentOptions): Skill; export declare function loadSkill(nameOrPath: string): Skill; export declare function listSkills(): SkillListEntry[]; export declare function validateSkill(skill: Skill): SkillCheckIssue[]; export declare function checkSkills(nameOrPath?: string): SkillCheckResult; export declare function validateSkills(skillNames: string[]): SkillValidation; export declare function buildSkillPrompt(basePrompt: string, skillNames: string[]): { prompt: string; skills: Skill[]; budgetMultiplier: number; maxOutputTokens?: number; timeoutMs?: number; forceProvider?: string; allowFallback?: boolean; requiresTools?: boolean; }; export declare function createSkill(name: string, options?: CreateSkillOptions): Skill; //# sourceMappingURL=skills.d.ts.map