import { CurriculumQualityReport, LessonPlan, ActivityLab, CodeLab, Handout, Worksheet, SlideDeck, TeacherGuide, Extension, LoTimeEstimate, MilestoneInput } from './schemas/index.js'; import { M as ModelResolutionOptions } from './provider-factory-Bv-eIkhg.js'; interface AutoRepairOptions { artifactType: string; lessonId: string; language: string; targetObjectives: Array<{ code: string; description: string; bloomLevel: string; }>; maxRetries?: number; modelOptions?: ModelResolutionOptions; generatorFn: (repairFeedback?: string) => Promise; } interface AutoRepairResult { artifact: T; verdict: 'PASS' | 'NEEDS_REVISION' | 'FAIL'; attempts: number; report: CurriculumQualityReport; } /** * Autonomous Proposer -> Judge -> Repair Loop * Runs generator, calls LLM-as-Judge to audit, and triggers a repair turn if needed. */ declare function withAutoRepair(options: AutoRepairOptions): Promise>; type BundleTier = 'minimum' | 'full'; interface MilestoneCurriculumBundle { milestoneId: string; milestoneName: string; language: string; lesson: LessonPlan; lessonMarkdown: string; activity: ActivityLab; activityMarkdown: string; codeLab: CodeLab; handout: Handout; handoutMarkdown: string; worksheet?: Worksheet; slides?: SlideDeck; teacherGuide?: TeacherGuide; extension?: Extension; judgeResults: Record>; /** L2 time estimate measured from the artifacts that shipped (plan 2026-10-09, phase D). */ time_estimate?: LoTimeEstimate; /** L2 measurement warnings, e.g. |L2 − L1| > 50% when a planEstimate was supplied. */ time_warnings?: string[]; } interface GenerateMilestoneBundleOptions { milestone: MilestoneInput; language?: string; bundleTier?: BundleTier; techStack?: string[]; topic?: string; targetAudience?: string; enableJudgeRepair?: boolean; modelOptions?: ModelResolutionOptions; /** Optional L1 estimate for the same lesson (plan time_estimates) — enables the |L2−L1| divergence warning. */ planEstimate?: LoTimeEstimate; } /** * Generates a complete Pedagogical Learning Bundle for a single Milestone */ declare function generateMilestoneCurriculumBundle(options: GenerateMilestoneBundleOptions): Promise; export { type AutoRepairOptions as A, type BundleTier as B, type GenerateMilestoneBundleOptions as G, type MilestoneCurriculumBundle as M, type AutoRepairResult as a, generateMilestoneCurriculumBundle as g, withAutoRepair as w };