import { type PerseusRadioUserInput, type PerseusRadioWidgetOptions } from "@khanacademy/perseus-core";
import type { RadioChoiceWithMetadata } from "./multiple-choice-widget.new";
import type { PerseusStrings } from "../../strings";
/**
 * Given a choice's position in the radio widget, return the corresponding
 * "choice letter". (For example, in English, `getChoiceLetter(0)` is "A",
 * `getChoiceLetter(1)` is "B", etc.)
 */
export declare function getChoiceLetter(pos: number, strings: PerseusStrings): string;
export declare function getUserInputFromSerializedState(serializedState: any): PerseusRadioUserInput;
export declare function moveNoneOfTheAboveToEnd(choices: ReadonlyArray<RadioChoiceWithMetadata>): RadioChoiceWithMetadata[];
export declare function enforceOrdering(choices: ReadonlyArray<RadioChoiceWithMetadata>, strings: PerseusStrings): readonly RadioChoiceWithMetadata[];
export declare function choiceTransform(choices: PerseusRadioWidgetOptions["choices"], randomize: PerseusRadioWidgetOptions["randomize"], strings: PerseusStrings, seed: number): RadioChoiceWithMetadata[];
