import { BooleanStateType, ChildStateType, ChildStateTypeConfig, EditorPlugin, EditorPluginProps, ListStateType, ObjectStateType } from '@edtr-io/plugin'; import { DeepPartial } from '@edtr-io/ui'; /** * @param config - {@link ScMcExerciseConfig | Plugin configuration} * @public */ export declare function createScMcExercisePlugin(config: ScMcExerciseConfig): EditorPlugin; /** @public */ export interface ScMcExerciseConfig extends Omit { content: ChildStateTypeConfig; feedback: ChildStateTypeConfig; i18n?: DeepPartial; } /** @public */ export declare type ScMcExercisePluginState = ObjectStateType<{ isSingleChoice: BooleanStateType; answers: ListStateType>; }>; /** @public */ export interface ScMcExercisePluginConfig { i18n: { types: { singleChoice: string; multipleChoice: string; }; answer: { label: string; addLabel: string; fallbackFeedback: { wrong: string; }; }; feedback: { label: string; }; globalFeedback: { correct: string; missingCorrectAnswers: string; wrong: string; }; isSingleChoice: { label: string; }; }; } /** @public */ export declare type ScMcExerciseProps = EditorPluginProps; //# sourceMappingURL=index.d.ts.map