import { ApplicationRef, ComponentFactoryResolver, ComponentRef, Injector } from '@angular/core'; import * as i0 from "@angular/core"; export declare class DynamicComponentService { private injector; private appRef; private componentFactoryResolver; constructor(injector: Injector, appRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver); /** * Dynamically creates a component, sets its @Input properties, and attaches it to the body. * @param component - The component to create. * @param inputs - An object with key/value pairs to assign to the component's @Input properties. * @returns A reference to the created component. */ openComponent(component: any, inputs: { [key: string]: any; }): ComponentRef; InitSilentComponent(component: any, inputs: { [key: string]: any; }): ComponentRef; /** * Binds event handlers to a component's output properties. * @param componentRef - The component reference. * @param eventBindings - Map of event names to handler functions. */ bindEvents(componentRef: ComponentRef, eventBindings: { [eventName: string]: (data: any) => void; }): void; /** * Destroys a dynamically created component. * @param componentRef - The component reference to destroy. */ closeComponent(componentRef: ComponentRef): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare function getValueFromPath(obj: any, path: string): any; declare global { interface EventTarget { value?: string; selectedIndex?: number; } }