import { type ForwardedRef, type ReactElement } from "react";
import { type TimeStampStringFormat, type CrudeTimeStamp, type TZInfo } from "@synnaxlabs/x";
import { type text } from './core';
import type { TextProps } from './Text';
export type DateTimeProps<L extends text.Level = "h1"> = Omit<TextProps<L>, "children" | "ref"> & {
    children: CrudeTimeStamp;
    format?: TimeStampStringFormat;
    suppliedTZ?: TZInfo;
    displayTZ?: TZInfo;
};
export declare const CoreDateTime: <L extends "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "p" = "h1">({ format, suppliedTZ, displayTZ, children, ...props }: DateTimeProps<L>, ref: ForwardedRef<JSX.IntrinsicElements[L]>) => ReactElement;
export declare const DateTime: <L extends "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "p" = "h1">(props: Omit<TextProps<L>, "ref" | "children"> & {
    children: CrudeTimeStamp;
    format?: TimeStampStringFormat | undefined;
    suppliedTZ?: TZInfo | undefined;
    displayTZ?: TZInfo | undefined;
} & {
    ref?: import("react").Ref<L> | undefined;
}) => ReactElement;
