/// <reference types="react" />
import { ILabel, IOperator } from '../../typings';
import { OperatorKeyword } from '../../components';
import { EventValue, RangeValue } from 'bonree-picker/lib/interface';
import { RangeInfo } from 'bonree-picker/lib/RangePicker';
import dayjs, { Dayjs } from 'dayjs';
export interface DateProps extends ILabel {
    /** 操作符 */
    operators?: OperatorKeyword[];
    /** @description 是否展示操作符面板 @default true */
    showOperators?: boolean;
    /** 自定义操作符内容 */
    customOperators?: IOperator[];
    /** @description 设置好的过滤项是否可以删除, 默认可以删除 @default true */
    deleteable?: boolean;
    /** @description 日期选择器还是时间范围选择器，默认是日期选择器 @default false */
    isRange?: boolean;
    /** @description 展示的日期格式 @default 'YYYY-MM-DD HH:mm:ss' */
    format?: string;
    /** @description 选择时间是否能超过当前时间，默认是不能 @default true*/
    disabledDateAndTime?: boolean;
    /** @description 自定义禁用的日期*/
    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[];
    };
    /** @description 待选时间发生变化的回调,只用于范围选择 */
    onCalendarChange?: (values: RangeValue<Dayjs>, formatString: [string, string], info: RangeInfo) => void;
    /** @description 范围选择器的确定按钮是否禁用,只用于范围选择 */
    okDisabled?: boolean;
}
declare const Date: React.FC<DateProps>;
export default Date;
