import { FormManager } from "./form-manager"; import { TemplateRef, RendererFactory2 } from "@angular/core"; import { Subscription } from "rxjs/internal/Subscription"; import { BsModalRef, BsModalService, ModalOptions, ComponentLoaderFactory } from "ngx-bootstrap"; export declare class ModalFormService extends BsModalService { private _suscriptions; constructor(rendererFactory: RendererFactory2, clf: ComponentLoaderFactory); showComponent(component: any, options?: ModalOptions): FormManager; show(content: string | TemplateRef | any, config?: ModalOptions): ModalFormRef; subscribe(subscrition: Subscription): void; unsubscribe(): void; hide(level: number): void; } export declare class ModalFormRef extends BsModalRef { hiddenCallback: Function; constructor(bsModalRef: BsModalRef); setCallback(callback: Function): void; contentAsFormManager(): FormManager; setComponentManager(value: boolean): this; } export declare class FormLevel { getMaxLevel: Function; level: number; constructor(level?: number); setMaxLevelCallback(func?: Function): this; isTopLevel(): boolean; }