import { Overlay, OverlayRef } from '@angular/cdk/overlay';
import { ComponentPortal } from '@angular/cdk/portal';
import { AfterViewInit, ComponentFactoryResolver, ComponentRef, EventEmitter, Injector, OnDestroy, TemplateRef } from '@angular/core';
import { Subject } from 'rxjs';
import { BsModalComponent } from '../modal/modal.component';
import * as i0 from "@angular/core";
export declare class BsModalHostComponent implements AfterViewInit, OnDestroy {
    private overlay;
    private parentInjector;
    private portalFactory;
    private componentFactoryResolver;
    constructor(overlay: Overlay, parentInjector: Injector, portalFactory: (injector: Injector) => ComponentPortal<BsModalComponent>, componentFactoryResolver: ComponentFactoryResolver);
    overlayRef: OverlayRef;
    componentInstance?: ComponentRef<BsModalComponent>;
    template: TemplateRef<any>;
    destroyed$: Subject<unknown>;
    private _isOpen;
    get isOpen(): boolean;
    set isOpen(value: boolean);
    isOpenChange: EventEmitter<boolean>;
    closeOnEscape: boolean;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    private onKeyDown;
    static ɵfac: i0.ɵɵFactoryDeclaration<BsModalHostComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<BsModalHostComponent, "bs-modal", never, { "isOpen": "isOpen"; "closeOnEscape": "closeOnEscape"; }, { "isOpenChange": "isOpenChange"; }, never, never, false, never>;
}
