import React, { KeyboardEvent, MouseEvent } from 'react'; import { PopperProps } from '../Popper'; import { ScrollbarsProps } from '../Scrollbars'; import { SearchFieldProps } from '../SearchField'; import { SearchPopperListOption, SearchPopperListProps } from './List'; import { Styles } from './SearchPopper.style'; export declare type SearchPopperOption = SearchPopperListOption; export declare type SearchPopperProps = Styles & Pick & Pick & { noOptionsMessage?: string; searchPlaceholder?: SearchFieldProps['placeholder']; searchTerm?: SearchFieldProps['value']; onSearch?: SearchFieldProps['onChange']; heightMin?: ScrollbarsProps['autoHeightMin']; heightMax?: ScrollbarsProps['autoHeightMax']; defaultOption?: SearchPopperListProps['options'][number]; onClickItem?: (option: SearchPopperListOption, isDefault: boolean, evt: MouseEvent | KeyboardEvent) => void; }; declare const _default: React.ComponentType & Partial> & Partial, never>>, "open" | "options" | "noOptionsMessage" | "anchorEl" | "onClickAway" | "modifiers" | "placement" | "clearOption" | "onClickItem" | "onClearClick" | "mainOptions" | "extraOptions" | "mainOptionsHeader" | "searchPlaceholder" | "searchTerm" | "onSearch" | "heightMin" | "heightMax" | "defaultOption"> & import("@material-ui/core/styles/withStyles").StyledComponentProps<"button" | "icon" | "header" | "paper" | "positionEnd" | "adornedEnd" | "filterListMessage">>; export default _default; //# sourceMappingURL=SearchPopper.d.ts.map