import { responseType } from "interface"; import { TimeLineRowType } from "interface/DayOverviewTypes"; import React, { ReactElement } from "react"; import { IODataStructure, WeeklyPlannerDataType } from "../../../../interface/WeeklyPlannerTypes"; export type DayPlannerProps = { date: Date; setDisplayDayOverview(display: boolean): void; setDayOverviewSelectedDate(date: Date): void; activityData: WeeklyPlannerDataType[]; setActivityData(data: WeeklyPlannerDataType[]): void; workSumLabel?: string; presentButtonLabel?: string; futureButtonLabel?: string; editButtonLabel?: string; language: string; getFormatedWorkedSum: (workedHoursSum: number) => string; moreIcon: ReactElement; dataCopy: IODataStructure[]; handleChange(response: responseType, value: IODataStructure[]): void; innerObject?: any; setIsPlaceWorkDisplayed(display: boolean): void; datesLabel: string; variables: Map; rawTimeLineData: TimeLineRowType[]; }; /** * This component is the one shown inside WeeklyPlanner component when the user still have to * choose a day to fullfil. * It allows the user to select the day he wants to fullfil and also give information about the status * of the completion of this day. */ declare const DayPlanner: React.MemoExoticComponent<(props: DayPlannerProps) => JSX.Element>; export default DayPlanner;