import { AfterViewInit, OnDestroy, OnInit } from '@angular/core'; import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog'; import { FormArray, FormBuilder, FormGroup } from '@angular/forms'; import { CalendarService } from '../../services/calendar.service'; import { MessageService } from 'primeng/api'; import { Calendar, CustomWeek } from '@acknow-srl/business-time'; import * as i0 from "@angular/core"; export declare class EditCalendarsComponent implements OnInit, AfterViewInit, OnDestroy { private calendarsSvc; private dialogSvc; dialogRef: DynamicDialogRef; dialogConfig: DynamicDialogConfig; private fb; private messageSvc; private _projectId; set projectId(value: any); get projectId(): any; private _project; set project(value: any); get project(): any; private isDestroying; calendars: Calendar[]; calendar: Calendar; calendarOn: boolean; index: number; form: FormGroup; constructor(calendarsSvc: CalendarService, dialogSvc: DialogService, dialogRef: DynamicDialogRef, dialogConfig: DynamicDialogConfig, fb: FormBuilder, messageSvc: MessageService); get customWeeksArray(): FormArray; setCurrentCalendar: (calendarIdx?: number) => void; calendarExists: (id: string) => boolean; addCustomWeek(id: string | undefined | null, customWeek: CustomWeek): FormGroup; add: () => Promise; remove: () => void; addCustom: () => void; removeCustom: (pos: number) => void; cloneCalendar: (calendar: Calendar) => Promise; ngOnInit(): void; ngAfterViewInit(): void; loadCalendar: () => number; ngOnDestroy(): void; saveCalendars: () => Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }