/** * OpenKernel — Frontend Quality Scoring * * A deterministic, reproducible rubric that scores generated frontend code * (HTML/CSS/JS) 0–100 across the dimensions that make a frontend feel * production-grade: design tokens, themes, component breadth, accessibility, * responsiveness, animation, performance, and cleanliness (no placeholders, * no banned frameworks). * * This is the reliable half of the hybrid scorer; the LLM judge adds the * subjective visual/UX verdict on top. On a miss, `feedback` gives the next * attempt concrete, targeted fixes so the recovery loop converges. */ import type { FrontendAcceptance, FrontendScore } from './types.js'; export declare const DEFAULT_FRONTEND_ACCEPTANCE: Required> & { bannedFrameworks: string[]; }; /** * Score frontend code against acceptance criteria. Pure and deterministic. */ export declare function scoreFrontend(code: string, acceptance?: FrontendAcceptance): FrontendScore;