export interface ValidateRubricInput { rubric: readonly string[]; artifactKind: 'text' | 'image' | 'video'; artifactInline?: string; artifactUrl?: string; successDescription?: string; } export interface RubricJudgement { pass: boolean; failedCriteria: string[]; notes: string; suggestedRetryNotes: string; } declare const PASS_TOKEN = "__PASS__"; declare const FAIL_TOKEN = "__FAIL__"; export declare function buildRubricPrompts(input: ValidateRubricInput): { system: string; user: string; }; export declare function parseJudgeResponse(raw: string, rubric: readonly string[]): RubricJudgement; export { PASS_TOKEN, FAIL_TOKEN }; export declare function assertArtifactUrlIsSafe(url: string): { ok: true; } | { ok: false; reason: string; }; //# sourceMappingURL=validateWithRubric.d.ts.map