import * as React from "react";
import type Filter from "@metabase/embedding-sdk-react/dist/frontend/src/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: Filter) => any[];
    test: (filter: Filter) => boolean;
    widget: any;
    group?: DatePickerGroup;
    options?: any;
};
export declare const DATE_OPERATORS: DateOperator[];
export declare function getOperator(filter: Filter, operators?: DateOperator[]): DateOperator | undefined;
type Props = {
    className?: string;
    filter: Filter;
    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;
