declare const formatDate: (date: Date | string, time?: boolean) => string; export default formatDate;