import React, { Component, RefObject } from 'react'; import { SelectOption } from '../../utils/select-utils'; import { Locale } from '../../types/common-types'; type Props = { async?: boolean; customValueAllowed?: boolean; disabled?: boolean; inputMaxLength?: number; isLoading?: boolean; locale?: Locale; onBlur?: (value?: SelectOption) => void; loadOptions?: (searchTerm: string) => void; name?: string; onChange?: (value?: SelectOption, event?: React.SyntheticEvent) => void; placeholder?: { [key in Locale]: string; }; options?: SelectOption[]; labelKey?: string; valueKey?: string; value?: SelectOption; selectedValueLabelKey?: string; }; type State = { dropdownOpen: boolean; id: string; options: SelectOption[]; selectedIndex?: number; tooltipOpen: boolean; value?: SelectOption; }; export declare class LookupSelect extends Component { dropdownRef: React.RefObject; selectRef: React.RefObject; selectedValue: React.RefObject; static defaultProps: { async: boolean; customValueAllowed: boolean; inputMaxLength: number; labelKey: string; locale: "et"; placeholder: { et: string; en: string; ru: string; }; valueKey: string; }; state: { dropdownOpen: boolean; id: string; options: SelectOption[]; selectedIndex: undefined; tooltipOpen: boolean; value: SelectOption | undefined; }; componentDidMount(): void; componentWillReceiveProps(newProps: Props): void; componentWillUnmount(): void; updateOptions: (newOptions?: SelectOption[]) => void; handleOutsideClick: (event: MouseEvent) => void; toggleDropdown: (event: React.SyntheticEvent | MouseEvent) => void; isClosingDropdownWithNavigationKey: (event: any) => boolean; isSelectingValueWithEnter: (event: any) => boolean; getLocalizedValue: (labelKey?: string) => string; handleDropdownClosed: (isRemainingWithinTheElement: Boolean) => void; isAsync: () => boolean; renderDisabledValue: () => import("react/jsx-runtime").JSX.Element; tooltipToggle: () => void; handleFieldBlur: () => void; handleChange: (value?: SelectOption, event?: React.SyntheticEvent) => void; resetValue: () => void; renderSelectedValue: (ref: RefObject) => import("react/jsx-runtime").JSX.Element; renderDropdown: (ref: RefObject) => import("react/jsx-runtime").JSX.Element | null; render(): import("react/jsx-runtime").JSX.Element; } export declare const WrappedLookupSelect: (props: import("../formField").FormFieldProps) => import("react/jsx-runtime").JSX.Element; export {};