import { type ComponentInfo, type GroupedComponentInfo } from "./component-discovery"; import type { AllSupportedModels } from "./core/provider-and-models"; import type { ValidationError } from "./types/validation"; /** * Enrich validation errors with component documentation (import path + props) * so the LLM retry loop has the API context it needs to fix errors correctly. */ export declare function enrichValidationErrors(errors: ValidationError[], manifest: Record): ValidationError[]; export declare const screenGenerator: ({ prompt, schema, model, validateCode, maxRetries, includePrompt, timeout, }: { prompt: string; schema?: string; model: AllSupportedModels; validateCode?: boolean; maxRetries?: number; includePrompt?: boolean; timeout?: number; }) => Promise<{ code: string; success: boolean; validationErrors: ValidationError[]; validationAttempts: number; designEngineerPrompt?: string | undefined; prompt: string; schema: string | undefined; }>; export declare const checkAndRemoveCodeFences: (text: string | null) => string | null; //# sourceMappingURL=generate-screen.d.ts.map