export interface DropdownElement { active: JSX.Element; expanded: JSX.Element; } export interface DropdownItem { key: string; id?: string; disabled?: boolean; disabledText?: string; element: DropdownElement; innerAction?: InnerAction; } export interface InnerAction { text: string; onClick: () => void; isDisabled?: boolean; } export declare function contructItemsFromArray(items: any[]): DropdownItem[]; declare const Dropdown: ({ items, selectedKey, onSelection, placeholder, width, className, loading, primary, disabled, icon, id, optionsClassName, }: { items: DropdownItem[]; selectedKey: string | undefined; onSelection: (value: string) => void; placeholder?: string; width?: number; className?: string; loading?: boolean; primary?: boolean; disabled?: boolean; icon?: JSX.Element; id?: string; optionsClassName?: string; }) => JSX.Element; export default Dropdown; //# sourceMappingURL=Dropdown.d.ts.map