import React from 'react'; import { OptionProps } from './Option'; export interface SelectProps { [key: string]: any; value?: any | any[]; defaultValue?: any | any[]; items: OptionProps[]; placeholder?: string; onChange?: (value: SelectProps['value']) => void; className?: string; style?: React.CSSProperties; contentClassName?: string; contentStyle?: React.CSSProperties; } export interface SelectState { value: any | any[]; visible: boolean; keySelectable: boolean; keySelectedIndex: number; } export declare class Select extends React.Component { static getDerivedStateFromProps(props: SelectProps): { value: any; } | null; state: SelectState; componentWillUnmount(): void; isSelected: (optionValue: any) => boolean; proxyChange(value: any): void; handleVisibleChange: (visible: boolean) => void; handleClear: () => void; handleMouseEnter: () => void; handleMouseLeave: () => void; handleKeyDown: (ev: KeyboardEvent) => void; handleOptionClick: (optionValue: any) => void; getOptionsAndLabels(): { options: React.ReactNode[]; labels: string[]; }; render(): JSX.Element; } export default Select;