declare function refresh(fn: () => Promise, _thisArg?: any): Function export default refresh