import { ModuleId } from '../types'; import { ModuleSystemContextValue } from '../ModuleProviderContext'; import { VDOMPool } from '../vdom-pool'; import { ModuleRegistry } from '../module-registry'; import { ModuleLoader } from '../module-loader'; import { ModuleEventBus } from '../event-bus'; /** * Hook to access the module system context. * @throws Error if used outside of ModuleProvider * @returns Module system context value */ export declare function useModuleSystem(): ModuleSystemContextValue; /** * Hook to access the module hierarchy context. * @returns Module hierarchy context value */ export declare function useModuleHierarchy(): { moduleId: ModuleId | null; depth: number; path: ModuleId[]; }; /** * Hook to get the VDOM pool. * @returns VDOM pool instance */ export declare function useVDOMPool(): VDOMPool; /** * Hook to get the module registry. * @returns Module registry instance */ export declare function useModuleRegistry(): ModuleRegistry; /** * Hook to get the module loader. * @returns Module loader instance */ export declare function useModuleLoader(): ModuleLoader; /** * Hook to get the event bus. * @returns Event bus instance */ export declare function useEventBus(): ModuleEventBus; /** * Hook to check if in development mode. * @returns Whether in development mode */ export declare function useDevMode(): boolean;