import { FC } from 'react'; import { DateRange, Matcher } from 'react-day-picker'; export { DateRange } from 'react-day-picker'; import { button_cva } from './button.mjs'; import { VariantProps } from 'class-variance-authority'; import 'class-variance-authority/types'; type DateRangePickerProps = { defaultValue?: DateRange; disabled?: Matcher | Matcher[]; excludeDisabled?: boolean; formatStr?: string; fromLabel?: string; locale?: "en" | "ms"; maxYear?: number; minYear?: number; onValueChange?: (date: DateRange) => void; placeholder?: string; value?: DateRange; size?: VariantProps["size"]; toLabel?: string; yearOrder?: "asc" | "desc"; }; /** * The DateRangePicker component allows users to select a range of dates from an interactive calendar. * @see {@link https://design.digital.gov.my/?path=/docs/myds-react-daterangepicker--docs} */ declare const DateRangePicker: FC; export { DateRangePicker, type DateRangePickerProps };