import type { SkillDraft } from "./types.js";
export type QualityResult = {
    passed: boolean;
    /** Mean of the four dimension scores (0-1). */
    score: number;
    critique: string;
    issues: string[];
};
export type QualityDeps = {
    generateText: (prompt: string) => Promise<string>;
    /** When provided, surfaced to the LLM so it can flag unknown tool references. */
    validToolNames?: string[];
};
export type RefineDeps = {
    generateText: (prompt: string) => Promise<string>;
};
export declare function evaluateSkillQuality(draft: SkillDraft, deps: QualityDeps): Promise<QualityResult>;
export declare function refineSkillDraft(draft: SkillDraft, critique: string, issues: string[], deps: RefineDeps): Promise<SkillDraft>;
