import { RemoteModule, RemoteModuleLoaderFn } from '../core/init'; /** * Service for loading remote modules dynamically. * * This approach is necessary to avoid the remote module referencing the __federation__ virtual module as that leads to a loading error. * The PluginManager uses this service to load remote modules - and since we are using eventing, the bundler won't see the reference to __federation__. */ export declare class RemoteModuleLoaderService { private static instance; private loadRemoteModuleFn; private constructor(); /** * Gets the singleton instance of RemoteModuleLoaderService. * @returns The singleton instance of RemoteModuleLoaderService. */ static initialiseStaticInstance(loadRemoteModuleFn: RemoteModuleLoaderFn): RemoteModuleLoaderService; static getInstance(): RemoteModuleLoaderService; /** * Loads a remote module. * @param remoteModule - The remote module to load. */ loadRemoteModule(remoteModule: RemoteModule): Promise; }