import type { Prettify } from '@atlaskit/linking-common';
import { token } from '@atlaskit/tokens';
import type { ElementProps } from '../../../elements';
export type DateTimeType = 'created' | 'modified' | 'sent';
export type BaseDateTimeElementProps = ElementProps & {
    /**
     * Color of the text
     */
    color?: string;
    /**
     * The date to display in the element.
     */
    date?: Date;
    /**
     * Override the default font size.
     */
    fontSize?: Prettify<Extract<Parameters<typeof token>[0], 'font.body' | 'font.body.large' | 'font.body.small'>>;
    /**
     * Hide the date prefix (e.g. "Created on", "Modified on", "Sent on")
     */
    hideDatePrefix?: boolean;
    /**
     * The override text which will show next to the date
     */
    text?: string;
    /**
     * Whether the date time element text should contain "Modified" or "Created" or "sent"
     */
    type?: DateTimeType;
};
/**
 * A base element that displays an ISO Timestamp in text.
 * @internal
 * @param {BaseDateTimeElementProps} BaseDateTimeElementProps - The props necessary for the DateTime element.
 * @see CreatedOn
 * @see ModifiedOn
 * @see SentOn
 */
declare const BaseDateTimeElement: ({ date, name, className, type, testId, text, hideDatePrefix, color, fontSize, }: BaseDateTimeElementProps) => JSX.Element | null;
export default BaseDateTimeElement;
export declare const toDateTimeProps: (type: "created" | "modified" | "sent", dateString?: string) => Partial<BaseDateTimeElementProps> | undefined;
