export declare function rescue<T, F>(fn: ()): T | F | Promise<T | F>;