import { Options } from 'react-select'; import { WidthProps } from 'styled-system'; export interface SelectBoxProps extends WidthProps { autoFocus?: boolean; closeMenuOnSelect?: boolean; defaultValue?: Options; disabled?: boolean; error?: boolean; hideReset?: boolean; id?: string; inputValue?: string; loading?: boolean; multiSelect?: boolean; name?: string; noOptionsMessage?: string; options: Options; defaultOptions?: Options; placeholder?: string; searchable?: boolean; creatable?: boolean; tabIndex?: string | number; value?: Options; onBlur?: () => void; onChange?: (value: Options) => void; onFocus?: () => void; onKeyDown?: () => void; onToggleOpen?: () => void; async?: boolean; loadOptions?: (inputValue: string, callback: (options: Options) => void) => void; loadingMessage?: (obj: { inputValue: string; }) => string; onInputChange?: (newValue: string) => string; } declare const SelectBox: ({ error, noOptionsMessage, creatable, onChange, disabled, loading, hideReset, multiSelect, searchable, placeholder, async, loadOptions, ...props }: SelectBoxProps) => JSX.Element; export default SelectBox;