import { Dispatch } from 'react'; import { Action, State } from './reducer'; /** * @returns The menu dispatcher, in order to execute some actions on it. */ export declare function useMenuAction(): Dispatch; /** * This hook treats the pending actions and returns the menu content. It should be only used in one single * component (the component displaying the menu). * * @returns The menu data. */ export declare function useMenuContent(): State['menu'];