import React from "react";
import { MenuItem } from "./index";
export declare const isHttp: (url: string) => boolean;
export interface MenuContextType {
    selectedKeys: string[];
    openKeys: string[];
    setOpenKeys: (keys: string[]) => void;
    handleClick: (key: string) => void;
    menuItems: MenuItem[];
    getShowChildren: (children: MenuItem[]) => MenuItem[];
    setMenuItems: (items: MenuItem[]) => void;
}
export declare const MenuProvider: React.FC<{
    children: React.ReactNode;
    menus: MenuItem[];
}>;
export declare const useMenu: () => MenuContextType;
