import * as React from "react";
import type { FilterMBQL } from "../../../../../../../metabase-lib/v1/queries/structured/Filter";
import type { DateShortcutOptions } from "./DatePickerShortcutOptions";
export type DatePickerGroup = "relative" | "specific";
export type DateOperator = {
    name: string;
    displayName: string;
    displayPrefix?: string;
    init: (filter: FilterMBQL) => any[];
    test: (filter: FilterMBQL) => boolean;
    widget: any;
    group?: DatePickerGroup;
    options?: any;
};
export declare const DATE_OPERATORS: DateOperator[];
export declare function getOperator(filter: FilterMBQL, operators?: DateOperator[]): DateOperator | undefined;
type Props = {
    className?: string;
    filter: FilterMBQL;
    dateShortcutOptions?: DateShortcutOptions;
    operators?: DateOperator[];
    hideTimeSelectors?: boolean;
    hideEmptinessOperators?: boolean;
    disableOperatorSelection?: boolean;
    disableChangingDimension?: boolean;
    supportsExpressions?: boolean;
    minWidth?: number | null;
    maxWidth?: number | null;
    onBack?: () => void;
    onCommit: (filter: any[]) => void;
    onFilterChange: (filter: any[]) => void;
};
declare const DatePicker: React.FC<React.PropsWithChildren<Props>>;
export default DatePicker;
