import React from "react";
interface FormatDateProps {
    /**
     * Date to be formatted.
     *
     * A `string` should be an ISO 8601 format date string.
     */
    readonly date: Date | string;
    /**
     * Boolean to show year or not.
     */
    readonly showYear?: boolean;
}
export declare function FormatDate({ date: inputDate, showYear, }: FormatDateProps): React.JSX.Element;
export declare function strFormatDate(date: Date, showYear?: boolean): string;
export {};
