/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import type { Dayjs } from 'dayjs';
export interface Moment2strOptions {
    showTime?: boolean;
    gmt?: boolean;
    utc?: boolean;
    picker?: 'year' | 'month' | 'week' | 'quarter';
}
export declare const moment2str: (value?: Dayjs | null, options?: Moment2strOptions) => any;
export declare const handleDateChangeOnForm: (value: any, dateOnly: any, utc: any, picker: any, showTime: any, gmt: any) => any;
export declare const mapDatePicker: () => (props: any) => any;
export declare function isMobile(): boolean;
export declare const mapRangePicker: () => (props: any) => any;
export declare const getDateRanges: (props?: {
    /** 日期是否是 UTC 格式 */
    utc?: boolean;
    /** 如果为 true 则返回的值是一个字符串 */
    shouldBeString?: boolean;
}) => {
    now: () => any;
    today: (params?: any) => any;
    yesterday: (params?: any) => any;
    dayBeforeYesterday: (params?: any) => any;
    tomorrow: (params?: any) => any;
    thisWeek: (params?: any) => any;
    lastWeek: (params?: any) => any;
    nextWeek: (params?: any) => any;
    thisIsoWeek: (params?: any) => any;
    lastIsoWeek: (params?: any) => any;
    nextIsoWeek: (params?: any) => any;
    thisMonth: (params?: any) => any;
    lastMonth: (params?: any) => any;
    nextMonth: (params?: any) => any;
    thisQuarter: (params?: any) => any;
    lastQuarter: (params?: any) => any;
    nextQuarter: (params?: any) => any;
    thisYear: (params?: any) => any;
    lastYear: (params?: any) => any;
    nextYear: (params?: any) => any;
    last7Days: (params?: any) => any;
    next7Days: (params?: any) => any;
    last30Days: (params?: any) => any;
    next30Days: (params?: any) => any;
    last90Days: (params?: any) => any;
    next90Days: (params?: any) => any;
};
export declare const getDateExact: () => {
    nowUtc: () => string;
    nowLocal: () => string;
    todayUtc: () => string;
    todayLocal: () => string;
    todayDate: () => string;
    yesterdayUtc: () => string;
    yesterdayLocal: () => string;
    yesterdayDate: () => string;
    tomorrowUtc: () => string;
    tomorrowLocal: () => string;
    tomorrowDate: () => string;
};
export declare function inferPickerType(dateString: string, picker?: any): 'year' | 'month' | 'quarter' | 'date';
