import { DropdownProps } from '../Dropdown/Dropdown'; import { DropdownTriggerProps } from '../Dropdown/DropdownTrigger'; export interface OptionsType { /** * Select Option Value */ value: string; /** * Option Option Label */ label: string; /** * Icon Left Options */ icon?: JSX.Element; } export interface SelectProps extends Omit, Omit { /** * Controlled value */ selectedValue?: OptionsType | string; /** * Default select label if no selected value (uncontrolled) */ placeholderOption: string; /** * Select options * */ options: OptionsType[] | string[]; /** * Callback to get value */ onValueChange?: (option: OptionsType | string) => void; /** * Default value */ defaultValue?: string; } /** * * Select component is based on Dropdown Component. It extends `Dropdown` and `Dropdown.Trigger` props `block`, `overflow`, `icon`, `variant`, `size`, `disabled` */ declare const Select: { ({ selectedValue, icon, options, overflow, block, variant, size, disabled, placeholderOption, onValueChange, defaultValue, }: SelectProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Select;