import type { Dayjs } from 'dayjs';
import React from 'react';
import 'rc-calendar/assets/index.css';
import 'rc-time-picker/assets/index.css';
import './index.less';
export interface TimeRangeInfo {
    inputValue: string;
    from: string;
    to: string;
    diff: number;
    sliderValue: number | null;
    interval?: number;
    timeUnitId?: number;
    id?: number;
}
export interface QuickTimeOption {
    id: number;
    value: number;
    label: string;
    diff: number;
    interval?: number;
    timeUnitId?: number;
}
export interface DateRangePickerProps {
    onChange?: (timeInfo: TimeRangeInfo) => void;
    value?: TimeRangeInfo;
    format?: string;
    placement?: 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
    quickTimeOptions?: QuickTimeOption[];
    disabledDate?: (current: Dayjs | null, options: {
        from: Dayjs[];
    }) => boolean;
    width?: number | string;
    disabled?: boolean;
    flat?: boolean;
}
declare const DateRangePicker: React.FC<DateRangePickerProps>;
export default DateRangePicker;
