import type { AsyncTransformFn, AsyncRecoveryFromErrorFn } from '../internal/function.js';
import { type Result } from './result.js';
/**
 *  Maps a `Result<T, E>` to `U` by applying _transformer_ to a contained `Ok(T)` value in _input_,
 *  or a _recoverer_ function to a contained `Err(E)` value in _input_.
 *  This function can be used to unpack a successful result while handling an error.
 */
export declare function mapOrElseAsyncForResult<T, E, U>(input: Result<T, E>, recoverer: AsyncRecoveryFromErrorFn<E, U>, transformer: AsyncTransformFn<T, U>): Promise<U>;
