import type { Moment } from "moment-timezone";
import type { InputHTMLAttributes } from "react";
export type DateWidgetAttributes = Omit<InputHTMLAttributes<HTMLDivElement>, "value" | "onChange">;
export interface DateWidgetProps extends DateWidgetAttributes {
    value?: Moment;
    hasTime?: boolean;
    dateFormat?: string;
    timeFormat?: string;
    error?: boolean;
    fullWidth?: boolean;
    onChange?: (date?: Moment) => void;
    onHasTimeChange?: (hasTime: boolean) => void;
}
declare const DateWidget: (props: DateWidgetProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
export default DateWidget;
