import { FormBuilder, FormGroup, FormControl, FormArray } from '@angular/forms'; import { Schedule } from '@xxmachina/common/domain/models'; import dayjs from 'dayjs'; import * as i0 from '@angular/core'; declare class ScheduleService { protected fb: FormBuilder; buildScheduleForm({ id, calendarId, name, startAt, endAt, url, }?: Partial): FormGroup<{ id: FormControl; calendarId: FormControl; name: FormControl; startAt: FormControl; endAt: FormControl; url: FormControl; }>; build(): FormGroup<{ dateRange: FormGroup<{ start: FormControl; end: FormControl; }>; timeRange: FormGroup<{ start: FormControl; end: FormControl; }>; title: FormControl; events: FormArray; endAt: FormControl; }>>; message: FormControl; }>; getSchedulesForm(form: ReturnType): FormArray; getSchedules(form: ReturnType): Schedule[]; addSchedule(form: ReturnType, schedule: Schedule): void; removeAt(form: ReturnType, index: number): void; removeAllSchedules(form: ReturnType): void; rebuildSchedulesForm(form: ReturnType, schedules: Schedule[]): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { ScheduleService }; //# sourceMappingURL=xxmachina-components-services-forms-schedule.d.ts.map