import type { EvolutionCandidate, SkillDraft } from "./types.js";
export type LlmDraftDeps = {
    generateText: (prompt: string) => Promise<string>;
};
declare function buildPrompt(candidate: EvolutionCandidate): string;
declare function validateAndRepair(raw: string, candidate: EvolutionCandidate): SkillDraft;
export declare function extractTaggedBlocks(body: string): {
    body: string;
    scripts?: Record<string, string>;
    references?: Record<string, string>;
    assets?: Record<string, string>;
};
export declare function generateSkillDraftLLM(candidate: EvolutionCandidate, deps: LlmDraftDeps): Promise<SkillDraft>;
export { buildPrompt, validateAndRepair };
