type vueWatchFn = (newVal: any, oldVal?: any) => void export function watchDateRangeToTimestamp(modelOrFn: any, beginName: string, endName: string): vueWatchFn export function watchDateToTimestamp(modelOrFn: any, dateName: string): vueWatchFn export function accurateTodate(date: Date): Date export function getRangeDate(range?: number, accToDate?: boolean): { now: Date, then: Date } export function dateAgo(timestamp: number): string