import { ItemType } from 'antd/es/menu/interface';
type menuItemsKey = 'version' | 'profile' | 'password' | 'role' | 'language' | 'cache' | 'reboot' | 'signout' | 'divider_1' | 'divider_2' | 'divider_3' | 'divider_4';
interface OptionsOfAddMenuItem {
    before?: menuItemsKey;
    after?: menuItemsKey;
}
type Item = ItemType & {
    _options?: OptionsOfAddMenuItem;
};
export declare const useCurrentUserSettingsMenu: () => {
    getMenuItems: () => Item[];
    addMenuItem: (item: Item, options?: OptionsOfAddMenuItem) => void;
};
/**
 * 为整个 App 提供一个 `menuItems` 的 Ref 对象，用于在 `插件` 中添加菜单项
 */
export declare const CurrentUserSettingsMenuProvider: ({ children }: {
    children: any;
}) => import("react/jsx-runtime").JSX.Element;
export {};
