import { OnInit, TemplateRef, Type } from '@angular/core'; import { Subject } from 'rxjs'; import { LocalizationDirectionType, LocalizationService } from '../../../providers/localization/localization.service'; import { Dialog, ModalOptions } from '../../../providers/modal/modal.types'; import * as i0 from "@angular/core"; /** * This component should only be instantiated dynamically by the ModalService. It should not be used * directly in templates. See {@link ModalService.fromComponent} method for more detail. */ export declare class ModalDialogComponent> implements OnInit { private localizationService; direction$: LocalizationDirectionType; childComponentType: Type; closeModal: (result?: any) => void; titleTemplateRef$: Subject>; buttonsTemplateRef$: Subject>; options?: ModalOptions; /** * */ constructor(localizationService: LocalizationService); ngOnInit(): void; /** * This callback is invoked when the childComponentType is instantiated in the * template by the {@link DialogComponentOutletComponent}. * Once we have the instance, we can set the resolveWith function and any * locals which were specified in the config. */ onCreate(componentInstance: T): void; /** * This should be called by the {@link DialogTitleDirective} only */ registerTitleTemplate(titleTemplateRef: TemplateRef): void; /** * This should be called by the {@link DialogButtonsDirective} only */ registerButtonsTemplate(buttonsTemplateRef: TemplateRef): void; /** * Called when the modal is closed by clicking the X or the mask. */ modalOpenChange(status: any): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "vdr-modal-dialog", never, {}, {}, never, never, false, never>; }