import type { TectonRuntimeConfig, TectonApplicationModules } from '../../types/config'; /** * Extracts application modules from the Tecton configuration grouped by authentication context. * Modules with `Application::` context prefix are categorized by their auth state (authenticated/unauthenticated). * * @param tectonConfig - The runtime configuration containing feature manifests * @returns Dictionary of application modules grouped by authentication context */ export declare function getApplicationModules(tectonConfig: TectonRuntimeConfig): TectonApplicationModules; /** * Sets up application modules based on the current authentication state. * Creates platform outlet elements for modules matching the auth context * and tears down modules from the opposite auth state. * * @param tectonConfig - The runtime configuration containing feature manifests * @param isAuthenticated - Whether the user is currently authenticated */ export default function setupApplicationModules(tectonConfig: TectonRuntimeConfig, isAuthenticated?: boolean): void; /** * Appends a hidden application module outlet element to the document body. * Creates a tecton-platform-outlet element configured with the module's route and config. * * @param options - Configuration for the application module * @param options.authContext - Authentication context (Authenticated/Unauthenticated) * @param options.outletId - Unique ID for the outlet element * @param options.modulePath - Full module path in format `featureName.moduleName` * @param options.featureName - Name of the feature containing the module * @param options.moduleName - Name of the module */ export declare function appendApplicationModule({ authContext, outletId, modulePath, featureName, moduleName, }: { authContext: string; outletId: string; modulePath: string; featureName: string; moduleName: string; }): void; /** * Removes all application module outlet elements for a given authentication context. * * @param authContext - Authentication context (Authenticated/Unauthenticated) to tear down */ export declare function teardownApplicationModules(authContext: string): void; //# sourceMappingURL=applicationModules.d.ts.map