import React, { Component, RefObject } from 'react'; import { SelectOption } from '../../../utils/select-utils'; import { Locale } from '../../../types/common-types'; export declare const OPTION_IDENTIFIER_ATTRIBUTE = "lookup-select-option-text"; type Props = { isLoading?: boolean; customValueAllowed?: boolean; resetValue: () => void; toggleDropdown: (event: React.SyntheticEvent) => void; value?: SelectOption; onChange: (value: SelectOption, event: React.SyntheticEvent) => void; valueKey?: string; labelKey?: string; options: SelectOption[]; inputMaxLength?: number; locale?: Locale; loadOptions?: (value: string) => any; searchInputId: string; tetherRef: RefObject; updateOptions: (options: []) => void; offsetWidth?: number; selectedValueLabelKey?: string; }; type State = { filteredOptions: SelectOption[]; filterValue: string; selectedIndex: number; }; export declare class SelectDropdown extends Component { activeNodeRef: React.RefObject; dropdownRef: React.RefObject; static defaultProps: { customValueAllowed: boolean; inputMaxLength: number; labelKey: string; locale: string; valueKey: string; }; state: { filteredOptions: never[]; filterValue: string; selectedIndex: number; }; getLocalizedValue: (labelKey?: string) => string; renderLoader: () => import("react/jsx-runtime").JSX.Element; renderSearchInput: () => import("react/jsx-runtime").JSX.Element; filterOptions: (event: React.ChangeEvent) => void; isAsync: () => boolean; handleKeyPressOnSearchInput: (event: React.KeyboardEvent) => void; navigateOptionsWithArrows: (event: React.KeyboardEvent, currentIndex: number) => void; focusOption: (index: number, isMovingDown: boolean) => void; scrollToActiveElement: (isMovingDown: boolean) => void; handleNewValueSelect: (event: React.KeyboardEvent) => void; isClosingDropdownWithNavigationKey: (event: React.KeyboardEvent) => boolean; getOptions: () => import("react/jsx-runtime").JSX.Element[]; getOption: (item: SelectOption, index: number) => import("react/jsx-runtime").JSX.Element; handleOptionSelect: (value: SelectOption, event: React.SyntheticEvent) => void; handleKeyPressOnOption: (event: React.KeyboardEvent, value: SelectOption, index: number) => void; render(): import("react/jsx-runtime").JSX.Element; } export {};