import { CrudeTimeStamp, TimeStampStringFormat, TZInfo } from '@synnaxlabs/x';
import { ForwardedRef, ReactElement } from 'react';
import { text } from './core';
import { 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 text.Level = "h1">({ format, suppliedTZ, displayTZ, children, ...props }: DateTimeProps<L>, ref: ForwardedRef<JSX.IntrinsicElements[L]>) => ReactElement;
export declare const DateTime: <L extends text.Level = "h1">(props: DateTimeProps<L> & {
    ref?: React.Ref<L>;
}) => ReactElement;
//# sourceMappingURL=DateTime.d.ts.map