import type { PerseusStrings } from "../../strings"; import type { PerseusNumericInputAnswerForm, PerseusNumericInputWidgetOptions } from "@khanacademy/perseus-core"; /** * Generates the specific set of examples for the current question. * This string is shown as examples to the user in a tooltip. */ export declare const generateExamples: (answerForms: readonly PerseusNumericInputAnswerForm[], strings: PerseusStrings) => ReadonlyArray; /** * Determines whether to show examples of how to input the various supported answer forms. * We do not show examples if all forms are accepted or if no forms are accepted. */ export declare const shouldShowExamples: (answerForms: readonly PerseusNumericInputAnswerForm[]) => boolean; /** * Takes a list of lists of answer forms, and returns a list of the forms * in each of these lists in the same order that they're listed in the * `formExamples` forms from above. */ export declare const unionAnswerForms: (answerFormsList: ReadonlyArray>) => ReadonlyArray; /** * Filter out the correct answers and map them to the answer forms * so that we can generate the examples for the widget. */ export declare function normalizeCorrectAnswerForms(answers: PerseusNumericInputWidgetOptions["answers"]): ReadonlyArray;