import { DateToFormatOptions } from '@synerise/ds-core'; import { Texts } from '../DateRangePicker.types'; import { DateRange } from '../date.types'; export type Props = { mode: string; dateOnly?: boolean; value?: DateRange; canApply?: boolean; canSwitchMode?: boolean; onApply?: (date?: Date | DateRange | undefined) => void; onSwitchMode?: () => void; message?: React.ReactNode | string; texts: Texts; valueFormatOptions?: DateToFormatOptions; showTime?: boolean; displayDateContainerClass?: string; };