import type { ElementType } from 'react'; import type { StyleXStyles } from '@stylexjs/stylex'; export type IStyles = StyleXStyles<{ width?: string; margin?: string; padding?: string; overflow?: string; backgroundColor?: string; borderRadius?: string; }>; export interface IDatePickerModal { size: 'small' | 'medium' | 'large' | 'big'; variant?: 'squared' | 'rounded'; PreviousMonthIcon?: ElementType; NextMonthIcon?: ElementType; weekDays?: string[]; style?: IStyles; selectedDate?: Date; onDateChange: (date: Date) => void; onTimeChange?: (date: Date) => void; passedDays?: boolean; allowedHours?: number[]; allowedMinutes?: number[]; }