import { PropsWithChildren } from 'react'; import { DateRangePresets } from '../Calendar'; import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; import * as Aria from "react-aria-components"; export interface DateRangePickerProps extends PropsWithChildren, "children" | "ref">>, FlowComponentProps { /** * Whether the calendar offers presets to pick a range with one click. Pass an * array to replace the built-in presets with your own. * * @default false */ withDatePickerPresets?: boolean | DateRangePresets; } /** @flr-generate all */ export declare const DateRangePicker: import('react').FunctionComponent & import('react').RefAttributes>; export default DateRangePicker;