/// <reference types="react" />
import type { Moment } from "moment-timezone";
import type { DatetimeUnit } from "../../../metabase-types/api";
type DateTimeProps = {
    value: string | Date | number | Moment;
    componentProps?: React.ComponentProps<"span">;
    unit?: DatetimeUnit;
};
/**
 * note: this component intentionally doesn't let you pick a custom date format
 * because that is an instance setting and should be respected globally
 */
declare function DateTime({ value, unit, ...props }: DateTimeProps): import("react/jsx-runtime").JSX.Element;
export default DateTime;
