UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

12 lines (11 loc) 525 B
import dayjs, { ConfigType, ManipulateType } from 'dayjs'; import { Options, PickerTimeRange } from './type'; export declare const CUSTOM = "custom"; export declare const CUSTOM_RANGE: PickerTimeRange; export declare const getPickerTimeRanges: (value: number, unit: ManipulateType) => { start: () => dayjs.Dayjs; end: () => dayjs.Dayjs; }; export declare const DEFAULT_OPTIONS: Options; export declare const CHART_PICKER_TIME_RANGES: PickerTimeRange[]; export declare const dateValueOf: (date: ConfigType) => number;