import * as React from "react"; import { IChoiceProps } from "./Choice"; import { IInternalPromptProps, IPromptProps } from "./Prompt"; import { MultipleChoicePromptData } from "./QuizData"; export interface IMultipleChoicePromptProps extends IPromptProps { onlyOne?: boolean; randomOrder?: boolean; choices: Array>; } export declare class MultipleChoicePrompt extends React.PureComponent { static is(value: any): value is MultipleChoicePrompt; render(): null; } export interface IInternalMultipleChoicePromptProps extends IInternalPromptProps { prompt: MultipleChoicePromptData; input: boolean[]; update(fn: (input: boolean[]) => boolean[]): boolean[]; } export declare class InternalMultipleChoicePrompt extends React.PureComponent { createOnChange: (index: number) => () => void; render(): JSX.Element; }