import { MenuConfig, MenuSourceData } from '../types'; import { Menu } from '../components/basic-menu/types'; export declare function generateMenuItem(title: string, childTitle: string, children: Menu): { title: string; open: boolean; children: { title: string; open: boolean; children: Menu; }[]; }[]; export declare function getMyAndTeam(list: any[]): { my: any[]; team: any[]; }; export declare function useMenuData(menuSourceData: MenuSourceData, menuConfig?: MenuConfig): { small: { my: { title: string; open: boolean; children: { title: string; open: boolean; children: Menu; }[]; }[]; team: { title: string; open: boolean; children: { title: string; open: boolean; children: Menu; }[]; }[]; }; big: { my: { title: string; open: boolean; children: { title: string; open: boolean; children: Menu; }[]; }[]; team: { title: string; open: boolean; children: { title: string; open: boolean; children: Menu; }[]; }[]; }; };