export function dateFormat(ts?: number, time?: Intl.DateTimeFormatOptions): string | null;