import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; import { FormControl, FormGroup } from '@angular/forms'; import { Calendar } from 'primeng/calendar'; import { BabylonButtonI, BabylonInputI } from '../../../interfaces'; import { BabylonGuestsPopupI } from '../babylon-guests-popup/babylon-guests-popup.interface'; import * as i0 from "@angular/core"; type AgeOption = { code: number; name: string; }; export declare class BabylonEngineModalV2Component implements OnInit, OnDestroy { private cdr; datepicker: Calendar; title?: string; subtitle?: string; datepickerData?: BabylonInputI; guestsInput?: BabylonInputI; promoInput?: BabylonInputI; button?: BabylonButtonI; guests?: BabylonGuestsPopupI; openInNewWindow?: boolean; defaultAdults: number; close: EventEmitter; form: FormGroup<{ dates: FormControl; guests: FormControl; adults: FormControl; promo: FormControl; }>; generatedUrl: string; guestsValue: string; private readonly fallbackChildAgeOptions; private readonly fallbackBabyAgeOptions; guestsValueSeparates: { adults: number; kids: number; infants: number; }; childrenAgeSelections: number[]; babiesAgeSelections: number[]; showSubfields: boolean; showChildrenAges: boolean; showBabiesAges: boolean; finalizedGuests: boolean; private readonly destroy$; constructor(cdr: ChangeDetectorRef); ngOnInit(): void; ngOnDestroy(): void; openCalendar(): void; onDateSelect(): void; togglePersonas(): void; onAdultsChange(_event: Event): void; onChildrenChange(event: Event): void; onBabiesChange(event: Event): void; onChildAgeChange(index: number, event: Event): void; onBabiesAgeChange(index: number, event: Event): void; applyGuests(adults: any, children: any, babies: any): void; updateGeneratedUrl(): void; private formatDate; closeModal(): void; get displayDates(): string; applyGuestsFromViewChildren(): void; setDefaultAdults(defaultAdults: number | undefined): void; get childAgeOptions(): AgeOption[]; get babyAgeOptions(): AgeOption[]; get childrenAgeRangeLabel(): string; get babiesAgeRangeLabel(): string; get ageUnitLabel(): string; private getSelectValue; private getAgeSelectValue; private getDefaultAdultValue; private getDefaultChildAge; private getDefaultBabyAge; private getAgeRangeLabel; private syncChildrenAgeSelections; private syncBabiesAgeSelections; private refreshGuestsValue; private syncAdultsSelection; private appendGuestAges; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};