import React, { ReactNode } from 'react';
import './Menu.css';
export interface IMenu {
    label: string | ReactNode;
    action?: (data: any) => void;
    subList?: IMenu[];
    postFixComponent?: (index: number, item: IMenu, isOpen: boolean) => ReactNode;
    id?: string;
    value?: string;
    data?: any;
    testId?: string;
    key?: string;
}
export declare const MAX_DEPTH = 5;
export interface IMenuProps {
    list: IMenu[];
    type: 'click' | 'hover';
    subMenuPosition: 'left' | 'right';
    children: ReactNode;
    testId?: string;
    width?: string;
}
declare const Menu: React.FC<IMenuProps>;
export default Menu;
