import { JsonSchema } from '@jsonforms/core'; export declare const today: string; /** * Format date * @param {*} dt * @param {*} uischemaOptions * @param {*} schema * @param {*} dateFormat * @param {*} options * @returns */ export declare const formatDate: (dt: any, uischemaOptions: any, schema: JsonSchema, dateFormat?: string | undefined, options?: { locale: string; zone: string; }) => any; /** * Format date and time * @param {*} date * @param {*} dateFormat * @param {*} options * @returns * @example dateFormatter This function takes in a date, a date format and an optional locale option and returns a formatted date. Parameters date: any - The date to be formatted. dateFormat: string - The desired format of the date. Defaults to yyyy-MM-dd . options: object - An object containing options for formatting the date. Defaults to { locale: enLocale } . Returns A formatted date. If the date is invalid, the original date is returned. Usage dateFormatter(date, dateFormat, options); */ export declare const dateFormatter: (date: any, dateFormat?: string, options?: { locale: string; zone: string; }) => any; /** * Convert a date to datetime format or date-time format to date format * @param schema JsonSchema object * @param data any * @returns ISO string */ export declare const convertDateTime: (schema: JsonSchema, data: any) => string | null;