import { type ServiceScope, type ServiceKey } from '@microsoft/sp-core-library'; import type { IModuleLoader } from '../interfaces/IModuleLoader'; export default class ComponentOverrider { /** * Given a component id and a component module, it sets the component in the loader, therefore being * available without the need of loading it separately. * Should only be used when initializing the loader. * * @param componentId - Id of the component to override. There should be only one version of the component. * @param componentVersion - Version of the component to override. * @param componentModule - Component module. */ static overrideComponent(componentId: string, componentVersion: string, componentModule: TComponent, serviceScope: ServiceScope, moduleLoaderServiceKey: ServiceKey): void; } //# sourceMappingURL=ComponentOverrider.d.ts.map