/// <reference types="react" />
import dayjs, { Dayjs } from 'dayjs';
import { EventValue, RangeValue } from 'bonree-picker/lib/interface';
import { RangeInfo } from 'bonree-picker/lib/RangePicker';
export interface DateRangeValueProps {
    format: string;
    onOk?: (value: [string, string]) => void;
    onDelete: () => void;
    value?: string[];
    showPanel: boolean;
    disabledDateAndTime?: boolean;
    disabledDate?: (current: dayjs.Dayjs) => boolean;
    /** @description 自定义禁用的时刻*/
    disabledTime?: (date: EventValue<dayjs.Dayjs>) => {
        disabledHours?: undefined;
        disabledMinutes?: undefined;
        disabledSeconds?: undefined;
    } | {
        disabledHours: () => number[];
        disabledMinutes: (selectedHour: number) => number[];
        disabledSeconds: (selectedHour: number, selectedMinute: number) => number[];
    };
    onCalendarChange?: (values: RangeValue<Dayjs>, formatString: [string, string], info: RangeInfo) => void;
    okDisabled?: boolean;
}
declare const DateRangeValue: React.FC<DateRangeValueProps>;
export default DateRangeValue;
