UNPKG

@openlearning/imscc-packager

Version:

Package JSON course structure into an IMSCC package

20 lines (19 loc) 652 B
import { Answer, Choice, Match } from '../../../../types'; export declare function multipleChoiceQuestionAnswer({ choices, score, }: { choices?: Choice[]; score: number; }): string; export declare function numericalQuestionAnswer({ answers, answerId, }: { answers?: Answer[]; answerId: string; }): string; export declare function multipleAnswersQuestionAnswer({ choices, score, }: { choices?: Choice[]; score: number; }): string; export declare function shortAnswerQuestionAnswer({ answers }: { answers?: Answer[]; }): string; export declare function matchingQuestionAnswer({ matches }: { matches?: Match[]; }): string;