UNPKG

@withjoy/sdk-js

Version:
20 lines (19 loc) 652 B
import Questions from "./Questions"; import Choice from "./Choice"; declare class Choices { readonly _questions: Questions; private _questionId; constructor(questions: any, questionId: any); readonly questionId: string; readonly _q: any; readonly _choices: any; _getRawChoice(choiceId: any): any; asSortedArray(): Choice[]; choiceFromJson(choiceJson: any): Choice; toString(): string; addCustomChoiceWithDisplayValue(displayValue: any): any; getChoiceWithStoreValue(storeValue: any): Choice; nextCustomId(): any; getChoiceById(choiceId: any): Choice; } export default Choices;