import { DateUnitKeys, DateUntilKeys, DynamincType } from './constant';
import dayjs, { Dayjs } from 'dayjs';
import { FilterDataProps } from '../index';
import { FilterListValueProps } from '../__private__/FilterList';
import { TimeFormat } from '@/components/create-filter';
import { Locale } from '../languages/zh-CN';
import { OptionsType } from 'rc-select/lib/interface';
export declare const getDurationOfFastType: (fast: string | undefined, val: number | undefined, type: string, unit: DateUnitKeys, fastMap: {
    [key: string]: [dayjs.Dayjs | null, dayjs.Dayjs | null];
}, until: DateUntilKeys, include?: boolean | undefined, nature?: boolean | undefined) => [Dayjs | null, Dayjs | null];
export declare const translateUnitToFormat: (_unit: DateUnitKeys) => TimeFormat;
/** 翻译传进来的结构 */
export declare const translateFilterData: (data: FilterDataProps) => FilterListValueProps[][];
/** 规范传出结构 */
export declare const formatFilterData: (data: FilterListValueProps[][]) => FilterDataProps;
/** DateFilter customer模式 options的类型返回 */
export declare const getDateCustomerOption: (locale: Locale, unit: DateUnitKeys, nature: boolean, type: DynamincType) => OptionsType;
/** DateFilter customer模式 包含文案 */
export declare const getDateCustomerIncludeTitle: (locale: Locale, unit: DateUnitKeys) => string;
/** DateFilter 根据format修正date */
export declare const getDateWithFormat: (date: Dayjs, format?: TimeFormat | undefined) => Dayjs;
