import * as React from 'react'; import { ThemedComponentClass } from '@friendsofreactjs/react-css-themr'; export declare type Mode = 'collapsible' | 'multiple'; export declare type ItemType = 'Accordian' | 'Tabular'; export interface ComboBoxItemProps { type?: any; key?: string; value: any; column?: any; renderer?(value: any, type?: string): React.ReactElement; } export interface ServerSort { field: string; order: string; callback?(field: string, order: string, sortBy: string): void; } export interface Props { currentValue?: string; items: ComboBoxItemProps[]; label: string; style?: any; suffix?: any; loading?: boolean; onSelect?(item: any): boolean | void; onChangeText?(value: string): void; sortEntity?(field: string, order: string, sortBy: string): void; theme?: any; disabled?: boolean; fullWidth?: boolean; addArrow?: boolean; readOnly?: boolean; helpText?: string; errors?: [string]; onKeyUp?(value: string, e?: any): void; handleScroll?(): void; backdropHidden?: boolean; onFocus?(): void; } interface State { open: boolean; items: ComboBoxItemProps[]; initialItems: ComboBoxItemProps[]; anchorEl?: HTMLElement; selectedValue: string; popoverWidth: string; serverSort: ServerSort; maxHeight: number; activeIndex: number; } declare class ComboBox extends React.PureComponent { private getUniqueID; private id; private wrapperRef; UP: number; DOWN: number; ENTER: number; constructor(props: Props); sortEntity: (field: string, order: string, sortBy: string) => void; componentDidMount(): void; componentWillUnmount(): void; componentWillReceiveProps(nextProps: any): void; handleClickOutside: (event: any) => void; setWrapperRef: (node: any) => void; addRenderer: (items: any, cloneItems: any) => any; getKey: (e: any) => any; handleUpDownEvent: (event: any) => void; onKeyUp: (event: any) => void; onChange: (value: string, event: React.FormEvent) => void; onArrowClick: (event: React.FormEvent) => void; handleClick: (value: string | any, key: any) => void; render(): React.JSX.Element; } export { ComboBox as UnthemedComboBox }; declare const _default: ThemedComponentClass; export default _default;