import { default as React, ReactNode } from 'react'; import { NavigationPageStoreItem } from '@mui-toolpad-extended-tuni/main'; /** * Context for course microservices to register themselves */ export interface CourseMicroserviceContextValue { registerCourseMicroservice: (navigation: NavigationPageStoreItem) => void; unregisterCourseMicroservice: (segment: string) => void; allCourseMicroserviceNavigation: NavigationPageStoreItem[]; isInsideCourseMicroservice: boolean; } export declare const CourseMicroserviceContext: React.Context; /** * Hook for course microservices to register themselves. * Returns isInsideCourseMicroservice=false if used outside CourseMicroservice provider. */ export declare const useCourseMicroserviceRegistration: () => CourseMicroserviceContextValue; interface CourseMicroserviceProviderProps { children: ReactNode; } /** * Provider component for CourseMicroserviceContext. * Manages the state of registered course microservices and syncs with the navigation store. */ export declare const CourseMicroserviceProvider: React.FC; export {};