export function usePromise(promise: any): any[];