import type { AsyncTransformFn } from '../internal/function.js';
import { type Result } from './result.js';
/**
 *  Return the result of _transformer_ with using _input_ as an argument for it if _input_ is `Ok(T)`.
 *  Otherwise, return _defaultValue_.
 *
 *  Basically, this operation is a combination `mapAsync()` and `unwrapOr()`.
 */
export declare function mapOrAsyncForResult<T, E, U>(input: Result<T, E>, defaultValue: U, transformer: AsyncTransformFn<T, U>): Promise<U>;
