import { InjectionToken, Type } from '@angular/core'; import { IDynamicModule } from '@cisstech/nge/services'; /** * A NgeElementDef is a definition of a custom element */ export interface NgeElementDef { /** * The selector of the element */ selector: string; /** * Reference to the module that defines the element's component. * The module must implements {@link IDynamicModule} and define a public "component" field. */ module?: () => Type | Promise>; /** * A component ref instead of a module ref can be provided. */ component?: () => Type | Promise>; } export declare const NGE_ELEMENTS: InjectionToken;