import { type PartialWithUndefined } from '@augment-vir/common'; import { type ViraIconSvg } from '../icons/icon-svg.js'; import { type ShowPopUpResult } from '../util/pop-up-manager.js'; import { type ViraSelectOption } from '../util/vira-select-option.js'; import { type PopUpTriggerPosition } from './pop-up/vira-pop-up-trigger.element.js'; /** * A dropdown element that uses pop-up menus. * * @category Dropdown * @category Elements * @see https://electrovir.github.io/vira/book/elements/dropdown/vira-dropdown */ export declare const ViraDropdown: import("element-vir").DeclarativeElementDefinition<"vira-dropdown", { options: ReadonlyArray>; /** The selected id from the given options. */ selected: ReadonlyArray; } & PartialWithUndefined<{ /** Text to show if nothing is selected. */ placeholder: string; /** * If false, this will behave like a single select dropdown, otherwise you can select * multiple. */ isMultiSelect: boolean; icon: ViraIconSvg; selectionPrefix: string; isDisabled: boolean; /** For debugging purposes only. Very bad for actual production code use. */ z_debug_forceOpenState: boolean; } & PopUpTriggerPosition>, { /** `undefined` means the pop up is not currently showing. */ showPopUpResult: ShowPopUpResult | undefined; }, { selectedChange: import("element-vir").DefineEvent; openChange: import("element-vir").DefineEvent; }, "vira-dropdown-", "vira-dropdown-", readonly [], readonly ["leadingIcon", "prefixText", "trigger"]>;