declare type SimpleMenuItemShape = Record> = T & { menuItems?: SimpleMenuItemShape[]; }; export declare function flattenMenuItems(menuItems: T[]): any; export declare function getMenuItemsParentIds>(menuItemId: string, flatMenuItemShapes: T[], acc?: string[]): any; export declare function addInternalMenuItemsProperties(menuItems: T[] | undefined, openMenuItems: string[], parentId?: string): any; export {};