import React from "react"; export interface DateRange { startDate?: Date; endDate?: Date; } export type Setter = React.Dispatch> | ((value: T) => void); export enum NavigationAction { Previous = -1, Next = 1 } export type DefinedRange = { startDate: Date; endDate: Date; label: string; }; export type Marker = symbol; export const MARKERS: { [key: string]: Marker } = { FIRST_MONTH: Symbol('firstMonth'), SECOND_MONTH: Symbol('secondMonth'), };