type DateProps = string | number | Date type options = Partial<{ dateFirst: boolean hour12: boolean timeZone: string showTimeZone: 'automatic' | boolean // 'automatic'/true/false style: string year: boolean yearSeparator: string truncateSameMonth: boolean truncateSameYear: boolean anchorDate: Date // very optional - only used to anchor relative dates from a date other than `dayjs()` (current datetime), primarily for tests }> declare module '@planningcenter/datetime-fmt' { export const datetime: (d: DateProps, opts: options) => string export const date: (d: DateProps, opts: options) => string export const time: (d: DateProps, opts?: options) => string }