import React from "react"; import { Choice } from "../formDesign"; import { RankedAnswerValue } from "../response"; type RankedQuestionProps = { /** The choices to render. */ choices: Choice[]; /** The answer to the question. */ answer: RankedAnswerValue; /** Locale to use */ locale?: string; /** The function to call when the value changes. */ onValueChange: (value?: any) => void; }; /** * Renders a ranked question. Answer is a mapping of choice id to rank (1, 2, 3, etc.). */ declare const RankedQuestion: React.FC; export default RankedQuestion;