import { AssignedQuestion, GradedQuestion } from "../core/assigned_exams"; import { ResponseKind } from "../response/common"; import { ImmutableGradingResult, QuestionGrader } from "./QuestionGrader"; export type StandardIFrameGradingResult = ImmutableGradingResult & { evaluation: StandardIFrameRubricItemEvaluation[]; }; export type StandardIFrameRubricItemEvaluation = { pointsEarned: number; explanation: string; }; export type StandardIFrameGraderRubricItem = { points: number; description: string; property: string; value: any; }; export type StandardIFrameGraderSpecification = { readonly grader_kind: "standard_iframe"; readonly rubric: StandardIFrameGraderRubricItem[]; readonly points_possible: number; }; export declare class StandardIFrameGrader implements QuestionGrader<"iframe", StandardIFrameGradingResult> { readonly spec: StandardIFrameGraderSpecification; readonly t_response_kinds: "iframe"; constructor(spec: StandardIFrameGraderSpecification); scale(new_points_possible: number): StandardIFrameGrader; isGrader(responseKind: T): this is QuestionGrader; prepare(): void; grade(aq: AssignedQuestion<"iframe">): StandardIFrameGradingResult; pointsEarned(gr: StandardIFrameGradingResult): number; renderReport(aq: GradedQuestion<"iframe", StandardIFrameGradingResult>): string; annotateResponseElem(aq: GradedQuestion<"iframe", StandardIFrameGradingResult>, response_elem: JQuery): void; renderStats(): string; renderOverview(gqs: readonly GradedQuestion<"iframe">[]): string; }