import { ControlValueAccessor, FormControl, Validator } from '@angular/forms'; import { TimeTable, WorkTime } from './models'; import { WorkTimeType } from './types'; import { Time } from './interfaces'; export declare class WorkTimeComponent implements ControlValueAccessor, Validator { private innerTimeTable; week: string[]; addFormView: boolean; timeTable: TimeTable; intervals: string[]; startTime: Time; endTime: Time; workTimeType: WorkTimeType; readonly: boolean; constructor(); workTimeToTimeTables(workTimes?: WorkTime[]): [TimeTable, string[]]; timeTablesToWorkTime(timeTable: TimeTable): WorkTime[]; checkSomeIntersection(): boolean; checkDayIntervalIntersection(interval: string, day: string): boolean; deleteInterval(interval: string): void; timeFormat(time: Time): string; isValidNewInterval(): boolean; addInterval(): void; workTimes: TimeTable; validate(c: FormControl): { intersection: boolean; }; changeTime(): void; writeValue(workTimes?: WorkTime[]): void; propagateChange: (_: any) => void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; }