import React from 'react';
type Timestamp = string | number | Date;
type DateParserProps = {
    /** The date string. Can be any date parsable by dayjs. */
    timestamp: Timestamp;
    /** Format of the rendered date. */
    dateFormat?: string;
    /** Humanize duration threshold. ie. If the time between now and the date is
     * less than this value in days, the date is converted to a human-readable
     * form (eg. "one hour ago").
     */
    humanizeThreshold?: number;
};
declare const DateParser: (props: DateParserProps) => React.ReactNode;
export default DateParser;
