import * as PropTypes from 'prop-types'; import * as React from 'react'; import { renderSelect, valueType } from './PropTypes'; export interface IMenuEvent { key: string; item: React.ReactNode; domEvent: Event; selectedKeys: string[]; } export interface IDropdownMenuProps { ariaId: string; defaultActiveFirstOption: boolean; value: valueType; dropdownMenuStyle: React.CSSProperties; multiple: boolean; onPopupFocus: React.FocusEventHandler; onPopupScroll: React.UIEventHandler; onMenuDeselect: (e: { item: any; domEvent: React.MouseEvent; }) => void; onMenuSelect: (e: { item: any; domEvent: React.MouseEvent; }) => void; prefixCls: string; menuItems: JSX.Element[]; inputValue: string | string[]; visible: boolean; firstActiveValue: valueType; menuItemSelectedIcon: renderSelect; backfillValue: string; } export default class DropdownMenu extends React.Component> { static displayName: string; static propTypes: { ariaId: PropTypes.Requireable; defaultActiveFirstOption: PropTypes.Requireable; value: PropTypes.Requireable; dropdownMenuStyle: PropTypes.Requireable; multiple: PropTypes.Requireable; onPopupFocus: PropTypes.Requireable<(...args: any[]) => any>; onPopupScroll: PropTypes.Requireable<(...args: any[]) => any>; onMenuDeSelect: PropTypes.Requireable<(...args: any[]) => any>; onMenuSelect: PropTypes.Requireable<(...args: any[]) => any>; prefixCls: PropTypes.Requireable; menuItems: PropTypes.Requireable; inputValue: PropTypes.Requireable; visible: PropTypes.Requireable; firstActiveValue: PropTypes.Requireable; menuItemSelectedIcon: PropTypes.Requireable; }; rafInstance: number | null; lastInputValue: string | string[] | undefined; saveMenuRef: any; menuRef: any; lastVisible: boolean; firstActiveItem: any; constructor(props: Partial); componentDidMount(): void; shouldComponentUpdate(nextProps: Partial): boolean; componentDidUpdate(prevProps: Partial): void; componentWillUnmount(): void; scrollActiveItemToView: () => void; renderMenu: () => JSX.Element | null; render(): JSX.Element | null; }