import * as React from 'react'; export interface IDropdownOption { key: string | number; label: string; selected?: boolean; } export interface DropdownProps { options: IDropdownOption[]; selectedItems?: IDropdownOption[]; multiple?: boolean; required?: boolean; id?: string; validation?: string; parentComponentId?: string; onChange: (updated: IDropdownOption, index: number) => void; } export interface DropdownState { inputFocusing: boolean; validation: string; validationElementId: string; } export default class Dropdown extends React.Component { inputRef: any; constructor(props: DropdownProps); componentDidMount(): void; doBlur: (caller: any) => void; setInputRef: (element: any) => void; focusInput: (caller: any) => void; setInputFocusing: (inputFocusing: boolean) => void; addSelected: (addedOption: IDropdownOption, index: number) => void; removeSelected: (removedOption: IDropdownOption, index: number) => void; onInputKeypress: (event: any) => void; onKeyDown: (keyDown: React.KeyboardEvent) => void; setValidation: (message: string) => void; render(): React.JSX.Element; }