import React from 'react';
import { DropDownProps } from 'antd';
import 'antd/dist/antd.css';
export declare type MenuItem = {
    caption: string | JSX.Element;
    icon?: JSX.Element;
    callback: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
    children?: undefined;
};
export declare type SubMenuItem = {
    caption: string;
    icon?: JSX.Element;
    children: Record<string, MenuItem>;
};
export declare type MenuItems = Record<string, MenuItem | SubMenuItem>;
export declare const Menu: React.FC<Omit<{
    items: MenuItems;
} & DropDownProps, 'overlay'>>;
