import React from 'react'; import { ForwardRefWithStaticComponents } from '../../utils/ts/forward-ref-with-static-component'; export declare const Select: React.ForwardRefExoticComponent>; declare const OptionComponent: React.ForwardRefExoticComponent & React.RefAttributes>; export interface SelectProps { /** * When `multiple` is false and `allowDeselect` is true, user can deselect the selected option. * @default true */ allowDeselect?: boolean; /** * Is input has borders * @default false */ bordered?: boolean; /** * You can find element's name at `data-name` attribute */ classNames?: { dropdownWrapper?: string; label?: string; selectWrapper?: string; }; /** * if true, users can deselect options at once or one by one * @defaults true */ clearable?: boolean; /** * if true, dropdown closes after click. if `multiple` is true, dropdown stays open by default. */ closeOnSelect?: boolean; creatable?: boolean; /** * You can pass default selected values. If `multiple` is false, you can pass only one value. Otherwise, we will take `first value`. */ customOptionComponent?: React.ComponentType