import { requestJudge } from '../judge/stream.js'; import { type CommandRunDeps } from './run-deps.js'; /** * `--min-score` failing is exit 4: 1-3 and 5-7 are taken (see README's exit * code table), and it needs its own code so an agent can tell "below the bar" * from "the judge itself failed". */ export declare const EXIT_BELOW_MIN_SCORE = 4; export declare function readArtDirection(designText: string): string | undefined; export interface JudgeArgs { genre?: string; platform?: string; 'min-score'?: string; json?: boolean; } export interface JudgeRunDeps extends CommandRunDeps { /** The machine-readable result, emitted only under `--json`. */ result: (value: unknown) => void; /** Seam over `requestJudge`, so a test can drive this without a network or a token. */ request: typeof requestJudge; } export declare function runJudge(args: JudgeArgs, deps?: JudgeRunDeps): Promise; export declare const judgeCommand: import("citty").CommandDef<{ readonly genre: { readonly type: "string"; readonly description: "Genre hint for the rubric: platformer, racing, shooter, combat, driving, tower-defense."; }; readonly platform: { readonly type: "string"; readonly description: string; }; readonly 'min-score': { readonly type: "string"; readonly description: "Fail (exit 4) when the overall score is below this 1-10 bar. Without it the judge informs and exits 0."; }; readonly json: { readonly type: "boolean"; readonly description: "Print the result as JSON on stdout; all progress goes to stderr."; }; }>;