import dayjs from 'dayjs';
declare type DateValue = string | number | Date;
export declare const TIME_FORMAT = "HH:mm:ss";
export declare function parseToDayjs(value: string | Date | number, format: string, timeOfDay?: string, dayjsLocale?: string): dayjs.Dayjs;
export declare function isValidDate(value: DateValue | DateValue[], format: string): boolean;
export declare function formatDate(newDate: DateValue | DateValue[], { format, targetFormat, dayjsLocale, autoSwap, }: {
    format: string;
    dayjsLocale?: string;
    targetFormat?: string;
    autoSwap?: boolean;
}): string | number | string[] | number[] | Date | Date[];
export declare function calcFormatTime(time: string, timeFormat: string): string;
export declare function formatTime(value: DateValue | DateValue[], timeFormat: string, defaultTime: string | string[]): string | string[];
export declare function getDefaultFormat({ mode, format, valueType, enableTimePicker, }: {
    mode?: string;
    format?: string;
    valueType?: string;
    enableTimePicker?: boolean;
}): {
    format: string;
    valueType: string;
    timeFormat: string;
} | {
    format?: undefined;
    valueType?: undefined;
    timeFormat?: undefined;
};
export declare function initYearMonthTime({ value, mode, format, timeFormat, enableTimePicker, }: {
    value: Array<any>;
    mode: string;
    format: string;
    timeFormat?: string;
    enableTimePicker?: boolean;
}): {
    year: number[];
    month: number[];
    time: string[];
};
export {};
