import { TextProps } from './Text';
import { text } from './core';
import { TimeStampStringFormat, CrudeTimeStamp, TZInfo } from '@synnaxlabs/x';
import { ForwardedRef, ReactElement } from 'react';

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: DateTimeProps<L> & {
    ref?: React.Ref<L>;
}) => ReactElement;
//# sourceMappingURL=DateTime.d.ts.map