import { UIContext, UIControlCallback, UIControlSpecies, UIControlSpeciesOptions, UIControlSpeciesInitExport, UIControlSpeciesInit } from "./types"; interface DropdownOption extends UIControlSpeciesOptions { /** * An array, dictionary or map containing options of the dropdown menu. */ choices?: [] | Zeta.Dictionary | Map; /** * Sets whether the label of the dropdown menu will be changed according to selected option. */ valueAsLabel?: boolean; } interface DropdownConstructor extends UIControlSpeciesInit { (name: string, execute: UIControlCallback, options?: DropdownOption); (name: string, choices: [] | Map, execute?: UIControlCallback, options?: DropdownOption); } const Dropdown: UIControlSpeciesInitExport<"dropdown", DropdownConstructor>; export default Dropdown;