import { type SkillMetadata } from '../index.js'; import { type BuildResult } from './_phases/build.js'; import { type VerifyResult } from './_phases/verify.js'; type MintPhase = 'spec' | 'research' | 'plan' | 'parallelize' | 'build' | 'verify' | 'heal' | 'ship'; interface HistoryEntry { phase: MintPhase; output: string; timestamp: number; } export interface MintState { currentPhase: MintPhase; idea: string; spec?: string; research?: string; plan?: string; waveOrchestrationPlan?: unknown; buildResults?: BuildResult; verifyResults?: VerifyResult; healIterations: number; history: HistoryEntry[]; } export type MintResult = { paused: true; phase: 'spec'; spec: string; state: MintState; nextStep: string; } | { paused: true; phase: 'heal-failed'; reason: string; state: MintState; nextStep: string; } | { completed: true; artifact: string; state: MintState; }; export interface MintInput { idea?: string; autoApprove?: boolean; repoPath?: string; resumeFrom?: MintState; userApproved?: boolean; } declare const mintSkill: SkillMetadata; export { mintSkill };