import { EventEmitter, OnDestroy, OnInit } from '@angular/core'; import { BasketTransferService, ContextService } from '../../_services'; import { Icon } from '../../_types/icon.enum'; import { CurrencyService } from '../../_services/currency.service'; import * as i0 from "@angular/core"; export declare class ModalComponent implements OnInit, OnDestroy { contextService: ContextService; basketTransferService: BasketTransferService; currencyService: CurrencyService; recipesCount: number; confirmButtonIsLoading: boolean; cancelButtonIsLoading: boolean; confirmButtonDisabled: boolean; cancelButtonDisabled: boolean; placeOrderFooter: boolean; redirectToCartFooter: boolean; noHeaderMode: boolean; totalPrice: number; title: string; confirmButtonText: string; cancelButtonText: string; modalStyle: string; ctaColor: 'primary' | 'success' | 'info' | 'warning' | 'danger'; close: EventEmitter; cancel: EventEmitter; confirm: EventEmitter; icon: typeof Icon; private _display; private currentPath; private mutationObserver; constructor(contextService: ContextService, basketTransferService: BasketTransferService, currencyService: CurrencyService); set display(isDisplayed: boolean); get display(): boolean; ngOnInit(): void; ngOnDestroy(): void; onEscapeDown(): void; onClose(): void; onCancel(): void; onConfirm(): void; /** * Prevent native navigation behind the modal. * * Check if the URL has changed each time an element changes in the body, and if it has, close the modal. */ private observeNavigation; static ɵfac: i0.ɵɵFactoryDef; static ɵcmp: i0.ɵɵComponentDefWithMeta; } //# sourceMappingURL=modal.component.d.ts.map