export const SubMenuByIdContext: import("use-context-selector").Context<{}>; export function SubMenuByIdProvider({ subMenuById, children }: { subMenuById: any; children: any; }): JSX.Element; export function useSubMenus(selector: any): undefined; export function useSubMenu(id: any, selector?: (a: T) => T): undefined; export function withSubMenu(Component: any, select: any): ({ id, ...rest }: { [x: string]: any; id: any; }) => JSX.Element;