/**
 * useMenu manages menu configuration, filtering, and visibility behavior for navigation and action surfaces.
 * This doc block is consumed by vue-docgen for generated API documentation.
 */
import { type ComputedRef, type InjectionKey, type Ref } from 'vue';
import { type RouteRecordNormalized, type RouteRecordRaw } from 'vue-router';
import { type MenuItem } from '../types/menu.js';
export interface MenuProvide {
    menuAll: Ref<MenuItem[]>;
    menuByRoute: ComputedRef<MenuItem[]>;
}
export declare const MenuKey: InjectionKey<MenuProvide>;
export declare function routeToMenuItem(route: RouteRecordRaw | RouteRecordNormalized): MenuItem | undefined;
export declare function createMenu(): void;
export declare function useMenu(): MenuProvide | null;
