export declare function useDate(date: string, fn: () => Promise): Promise;