import * as React from 'react'; import { ThemedComponentClass } from '@friendsofreactjs/react-css-themr'; export declare type ItemType = 'Tabular'; export interface PopoverItemProps { type?: any; key?: string; isInitial?: boolean; value: any; column?: any; } export interface ServerSort { field: string; order: string; callback?(field: string, order: string, sortBy: string): void; } export interface Props { currentValue?: string; items: PopoverItemProps[]; label: string; style?: any; suffix?: any; loading?: boolean; onSelect?(item: any): void; onChangeText?(value: string): void; onRemove?(value: string): void; sortEntity?(field: string, order: string, sortBy: string): void; onFocus?(event: React.FormEvent): void; theme?: any; defaultSelectedItems?: any; noOptionsMessage?: string; helpText?: React.ReactNode; disabled?: boolean; readOnly?: boolean; } interface State { chipListState: any[]; items: PopoverItemProps[]; anchorEl?: HTMLElement; selectedValue: string; popoverWidth: string; isEmpty: boolean; serverSort: ServerSort; isFocus: boolean; } declare class PopoverPicker extends React.PureComponent { private getUniqueID; private id; wrapperRef: HTMLDivElement; constructor(props: Props); sortEntity: (field: string, order: string, sortBy: string) => void; componentDidMount(): void; componentWillUnmount(): void; componentWillReceiveProps(nextProps: any): void; setWrapperRef: (node: any) => void; handleClickOutside: (event: any) => void; onChange: (value: string, event: React.FormEvent) => void; handleClick: (value: string | any) => void; updateList: (input: any) => void; chipRemove: (item: any) => void; onKeyDown: (e: KeyboardEvent) => void; onFocus: (event: React.FormEvent) => void; render(): React.JSX.Element; } export { PopoverPicker as UnthemedPopoverPicker }; declare const _default: ThemedComponentClass; export default _default;