import { ApplicationRef, ComponentFactoryResolver, ComponentRef, ElementRef, Injector } from '@angular/core';
export declare class OverlayService {
    private _componentFactoryResolver;
    private _appRef;
    private _injector;
    private _componentRefs;
    constructor(_componentFactoryResolver: ComponentFactoryResolver, _appRef: ApplicationRef, _injector: Injector);
    createComponent(compClass: any, inputs: any, events?: any, parentRef?: ElementRef): ComponentRef<any>;
    removeComponent(componentRef: ComponentRef<any>): void;
    private _componentRefExists;
    private _removeComponentRef;
    private _getClassFromComponentRef;
}
