import * as O from "../Option"
import type { Effect } from "./effect"
/**
 * Extracts the optional value, or executes the effect 'orElse'.
 *
 * @dataFirst someOrElseM_
 */
export declare function someOrElseM<R2, E2, B>(
  orElse: Effect<R2, E2, B>,
  __trace?: string
): <R, E, A>(self: Effect<R, E, O.Option<A>>) => Effect<R & R2, E2 | E, B | A>
/**
 * Extracts the optional value, or executes the effect 'orElse'.
 */
export declare function someOrElseM_<R, E, A, R2, E2, B>(
  self: Effect<R, E, O.Option<A>>,
  orElse: Effect<R2, E2, B>,
  __trace?: string
): Effect<R & R2, E | E2, A | B>
//# sourceMappingURL=someOrElseM.d.ts.map
