recover<B extends A>(f: (e: Error) => Optional<B>): Future<A>;