import { CurrentTheme } from 'itlab-theme-system'; import { ComputedRef, UnwrapNestedRefs } from 'vue'; export type GlobalnavInstance = { theme: ComputedRef; isCurtainVisible: boolean; isMobile: boolean; activeSubmenu: symbol | string | null; isSubmenuActive: (name: symbol | string) => boolean; toggleSubmenu: (name: symbol | string) => void; routes: Record; }; export declare function provideGlobalnavInstance(globalnavInstance: UnwrapNestedRefs): void; export declare function useGlobalnavInstance(): { theme: CurrentTheme; isCurtainVisible: boolean; isMobile: boolean; activeSubmenu: symbol | string | null; isSubmenuActive: (name: symbol | string) => boolean; toggleSubmenu: (name: symbol | string) => void; routes: Record; };