import type { SkillPreferenceEntry } from './find.js'; export type SkillPreferenceMode = 'advisory' | 'strict'; export type MissingSkillPolicy = 'ask' | 'fail'; export type AmbiguousSkillPolicy = 'ask' | 'fail'; export type DeviationPolicy = 'explain' | 'fail'; export type CapabilityPolicy = 'allow' | 'disclose' | 'deny'; export interface SkillPreferencePolicies { missing: MissingSkillPolicy; ambiguous: AmbiguousSkillPolicy; deviation: DeviationPolicy; scripts: CapabilityPolicy; hooks: CapabilityPolicy; } export interface NormalizedSkillPreferences { version: 1; mode: SkillPreferenceMode; prefer: string[]; require: string[]; policies: SkillPreferencePolicies; } export type SkillPreferenceWarning = { code: 'duplicate-prefer' | 'duplicate-require'; message: string; skill: string; } | { code: 'unknown-field'; message: string; field: string; }; export interface NormalizedSkillPreferenceDocument { preferences: NormalizedSkillPreferences; warnings: SkillPreferenceWarning[]; } export interface ProjectSkillPreferences extends NormalizedSkillPreferenceDocument { path: string; hash: string; } export declare function normalizeSkillPreferencesDocument(value: unknown, file?: string): NormalizedSkillPreferenceDocument; export declare function skillPreferenceEntries(preferences: NormalizedSkillPreferences): SkillPreferenceEntry[]; export declare function skillPreferencesPath(projectRoot: string): string; export declare function readProjectSkillPreferences(projectRoot: string): Promise; //# sourceMappingURL=preferences.d.ts.map