import React, { ReactElement } from "react"; interface RefType { value: OptionId[]; options?: { id: OptionId; title: string; }[]; } export interface ScheduleDay { id: ScheduleDayId; checked: boolean; day: string; interval: { departure: Date; arrival: Date; error?: string; touched?: boolean; }[]; } export interface ScheduleOverride { id: OverrideId; date: Date; intervals: ScheduleDay["interval"]; error?: string; touched?: boolean; } export interface Schedule { id: ScheduleId; title: string; days: ScheduleDay[]; appliedTo: RefType; timeZone: TimeZoneId; searchTimeZone: string; } export interface Props { schedules: Schedule[]; schedule: Schedule; overrides: ScheduleOverride[]; timeZones: { id: TimeZoneId; title: string; }[]; hoursData: Date[]; onAddSchedule: (data: { title: string; }) => void; onEditSchedule: (editingId: ScheduleId, editingTitle: string) => void; onRemoveSchedule: (id: ScheduleId) => void; onSelectSchedule: (id: ScheduleId) => void; onEnableInterval: (id: ScheduleDayId) => void; onAddInterval: (id: ScheduleDayId) => void; onRemoveInterval: (data: { dayId: ScheduleDayId; index: number; }) => void; onSetTimeZone: (id: TimeZoneId) => void; onSetTimeZoneSearch: (search: string) => void; onBlurTimeZoneSearch: VoidFunction; onSetAppliedTo: (s: OptionId[]) => void; onAddOverride: (s: ScheduleOverride) => void; onEditOverride: (s: ScheduleOverride) => void; onRemoveOverride: (id: OverrideId) => void; onEditIntervalDeparture: (data: { day: ScheduleDayId; index: number; time: string; }) => void; onEditIntervalArrival: (data: { day: ScheduleDayId; index: number; time: string; }) => void; } export declare const Content: ({ schedules, schedule, overrides, timeZones, hoursData, onSelectSchedule, onAddSchedule, onEditSchedule, onRemoveSchedule, onEnableInterval, onAddInterval, onRemoveInterval, onSetTimeZone, onSetTimeZoneSearch, onBlurTimeZoneSearch, onSetAppliedTo, onAddOverride, onEditOverride, onRemoveOverride, onEditIntervalArrival, onEditIntervalDeparture, }: Props) => ReactElement; export {};