import * as React from 'react'; import './style/index.less'; type KeyType = string | number; type State = { activeIndex: KeyType[]; openedMenus: KeyType[]; menuItems: any; submenus: any; }; type MenuProps = { mode?: string; style?: React.CSSProperties; defaultSelectedKeys?: KeyType[]; defaultOpenKeys?: KeyType[]; theme?: string; uniqueOpened?: boolean; menuTrigger?: string; onSelect?: Function; onOpen?: Function; onClose?: Function; background: boolean; children: React.ReactNode; }; export default class Menu extends React.Component { static defaultProps: { mode: string; theme: string; menuTrigger: string; background: boolean; }; static childContextTypes: { component: () => void; }; state: State; instanceType: string; constructor(props: MenuProps); getChildContext(): { component: Menu; }; componentDidMount(): void; componentWillReceiveProps(props: any): void; openMenu(index: number, indexPath: KeyType[]): void; closeMenu(index: number): void; handleSubmenuClick(index: number, indexPath: Array): void; handleSelect(index: string, indexPath: Array, instance: React.ReactChild): void; openActiveItemMenus(): void; defaultSelectedKeysChanged(value: string): void; defaultOpenKeysChanged(value: KeyType[]): void; render(): React.JSX.Element; } export {};