/**
 * 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 React from 'react';
interface IDatePickerProps {
    utc?: boolean;
}
/**
 * 解析筛选日期组件的展示格式。
 *
 * 这里优先使用 schema 上显式配置的 dateFormat / format，
 * 只有在当前 picker 没有自定义格式时才回退到默认 picker 格式。
 *
 * @param options 当前筛选日期组件的格式参数
 * @returns 适用于当前 picker 的最终展示格式
 * @example
 * ```typescript
 * resolveFilterPickerFormat({
 *   targetPicker: 'date',
 *   picker: 'date',
 *   dateFormat: 'MM/DD/YY',
 *   showTime: false,
 * });
 * ```
 */
export declare const resolveFilterPickerFormat: (options: {
    targetPicker: string;
    picker?: string;
    format?: string;
    dateFormat?: string;
    showTime?: boolean;
    timeFormat?: string;
}) => any;
export declare const useDatePickerContext: () => IDatePickerProps;
export declare const DatePickerProvider: React.Provider<IDatePickerProps>;
export declare const DatePicker: {
    (props: any): React.JSX.Element;
    ReadPretty: React.FC<import("./ReadPretty").ReadPrettyDatePickerProps>;
    RangePicker(props: any): React.JSX.Element;
    FilterWithPicker(props: any): React.JSX.Element;
};
export default DatePicker;
