declare const datetimeExp: { datetime: RegExp; date: RegExp; time: RegExp; }; declare const datetimePlainExp: { datetime: RegExp; date: RegExp; time: RegExp; }; /** * Parses the value string and returns the datetime if the string represents * the ISO 8601 formatted datetime. Returns null when the invalid datetime * is found. */ declare const parseDateTime: (value: string) => Date | null; /** * Parses the value string and returns the datetime if the string represents * the ISO 8601 formatted date. Returns null when the invalid date * is found. */ declare const parseDate: (value: string) => Date | null; /** * Parses the value string and returns the datetime if the string represents * the ISO 8601 formatted time. Returns null when the invalid time * is found. */ declare const parseTime: (value: string) => Date | null; declare const dateToDatetimeString: (date: Date | null, noSep?: boolean, zuluTime?: boolean) => string | null; declare const dateToDateString: (date: Date | null, noSep?: boolean) => string | null; declare const dateToTimeString: (date: Date | null, noSep?: boolean) => string | null; declare const dateToSmartString: (date: Date | null, type: "datetime" | "date" | "time", noSep?: boolean) => string | null; declare const dateToIOString: (date: Date | null, type: "datetime" | "date" | "time", noSep?: boolean) => string; export { dateToDateString, dateToDatetimeString, dateToIOString, dateToSmartString, dateToTimeString, datetimeExp, datetimePlainExp, parseDate, parseDateTime, parseTime };