import React from 'react'; import { ListProps } from './List'; export interface MenuListProps extends ListProps { children: React.ReactNode; onBlur?: (event: React.FocusEvent) => void; onKeyDown?: (event: React.KeyboardEvent, keyCode?: string) => void; } export interface MenuListState { currentTabIndex: number; } declare class MenuList extends React.Component { state: { currentTabIndex: number; }; componentDidMount(): void; componentWillUnmount(): void; readonly items: Element[]; setTabIndex(index: number): void; getFocusItemIndex(): number; getFocusItem(): any; list?: Element; selectedItemIndex?: number; blurTimer?: any; handleList: () => void; handleBlur: (event: React.FocusEvent) => void; handleKeyDown: (event: React.KeyboardEvent) => void; handleItemFocus: (event: React.FocusEvent) => void; focus(): void; resetTabIndex(forceReset?: boolean): void; readonly selectedItem: Element; readonly containsSelectedItem: boolean; render(): JSX.Element; } export default MenuList; export { MenuList };