interface DateLike { /** * Returns the year of the date. */ getFullYear(): number; /** * Returns the month of the date (0-11). */ getMonth(): number; /** * Returns the day of the month (1-31). */ getDate(): number; /** * Returns the hours of the date (0-23). */ getHours(): number; /** * Returns the minutes of the date (0-59). */ getMinutes(): number; /** * Returns the seconds of the date (0-59). */ getSeconds(): number; /** * Returns the milliseconds of the date (0-999). */ getMilliseconds(): number; /** * Returns the day of the week (0-6, where 0 is Sunday). */ getDay(): number; /** * Returns the time value in milliseconds since the Unix epoch (January 1, 1970). */ getTime(): number; /** * Returns the timezone offset in minutes from UTC. */ getTimezoneOffset(): number; } declare const formatter: { W(d: DateLike): string; WW(d: DateLike): string; GGGG(d: DateLike): string; GG(d: DateLike): string; G(d: DateLike): string; }; export { formatter };