import type { ChoiceState } from "../../../types"; import type { RadioChoiceWithMetadata } from "../multiple-choice-widget"; import type { ShowSolutions } from "@khanacademy/perseus-core"; interface GetChoiceStatesProps { choices: ReadonlyArray; showSolutions?: ShowSolutions; choiceStates?: ReadonlyArray; reviewMode?: boolean; } /** * Determine the updated choice states for the Radio widget, based on the * widget's showSolutions / reviewMode states, and choiceStates. * * @param choices - The choices for the Radio widget. * @param showSolutions - Whether the widget is in showSolutions mode. * @param reviewMode - Whether the widget is in review mode. * @param choiceStates - The choice states for the widget. (The user's current selection states.) * @returns The updated choice states for the widget. */ export declare const getChoiceStates: ({ choices, showSolutions, choiceStates, reviewMode, }: GetChoiceStatesProps) => ReadonlyArray; export {};