import 'react-day-picker/style.css'; export type CalendarMode = 'single' | 'multiple' | 'range'; export type DateSelectorSize = 'sm' | 'md' | 'lg'; export type DateSelectorVariant = 'accent' | 'primary' | 'purple'; export type DateSelectorShape = 'default' | 'subtle'; export type DateSelectorSingleValue = string; export type DateSelectorMultipleValue = string[] | undefined; export type DateSelectorRangeValue = string[] | undefined; type DateSelectorBaseProps = { shape?: DateSelectorShape; label?: string; placeholder?: string; disabled?: boolean; readOnly?: boolean; minDate?: Date; maxDate?: Date; className?: string; error?: string; size?: DateSelectorSize; helperText?: string; variant?: DateSelectorVariant; checked?: boolean; dimissible?: boolean; mask?: string; onBlur?: React.FocusEventHandler; rangeStartLabel?: string; rangeEndLabel?: string; onClickDimissibleIcon?: () => void; }; export type DateSelectorSingleProps = DateSelectorBaseProps & { mode?: 'single'; value?: DateSelectorSingleValue; onChange?: (value: DateSelectorSingleValue) => void; }; export type DateSelectorMultipleProps = DateSelectorBaseProps & { mode: 'multiple'; value?: DateSelectorMultipleValue; onChange?: (value: DateSelectorMultipleValue) => void; }; export type DateSelectorRangeProps = DateSelectorBaseProps & { mode: 'range'; value?: DateSelectorRangeValue; onChange?: (value: DateSelectorRangeValue) => void; }; export type DateSelectorProps = DateSelectorSingleProps | DateSelectorMultipleProps | DateSelectorRangeProps; export declare const DateSelector: React.FC; export {};