UNPKG

@openmrs/esm-extensions

Version:

Coordinates extensions and extension points in the OpenMRS Frontend

12 lines (11 loc) 390 B
import { type LifeCycles } from 'single-spa'; /** @internal */ export interface ModalRegistration { name: string; load(): Promise<LifeCycles>; moduleName: string; } /** @internal */ export declare function registerModal(modalRegistration: ModalRegistration): void; /** @internal */ export declare function getModalRegistration(modalName: string): ModalRegistration | undefined;