import { DateInput, type Format } from "@formkit/tempo";
export type FormatDateOptions = {
    /**
     * Should an empty string be returned if the date is null or undefined
     *
     * @defaultValue false
     */
    returnEmptyIfNotSet?: boolean;
    /**
     * Should an empty string be returned if the date is invalid
     *
     * @defaultValue false
     */
    returnEmptyIfInvalid?: boolean;
    /**
     * The format to use when generating the string
     *
     * @remarks
     * For more information read the [Tempo documentation](https://tempo.formkit.com/#format-tokens)
     *
     * @defaultValue "M/D/YYYY"
     */
    format?: Format;
    /**
     * The locale used in the formatting
     */
    locale?: string;
};
/**
 * Format a date field
 *
 * @param dateTime - The date time to format
 * @returns The formatted date
 */
export declare const formatDate: (dateTime?: DateInput | null, options?: FormatDateOptions) => string;
