/** * Formats a given date object or timestamp using yyyy-MM-dd and the UTC timezone by default. * * @see https://date-fns.org/v2.12.0/docs/Unicode-Tokens for the additional tokens * @see https://www.npmjs.com/package/date-fns-tz Date and time zone formatting * * @param value - The dateTime to format. * @param options.format - The format to use for the resulting date string * @param options.timeZone - The time zone to use for the resulting date string * @returns A formatted date string or the given date if it cannot be formatted */ declare function formatDateTime(value?: string | Date | number, options?: { format?: string; timeZone?: string; }): string | number | Date; export default formatDateTime; export { }