import type { Cause } from "../Cause"
import type { Effect } from "./effect"
/**
 * Companion helper to `sandbox`. Allows recovery, and partial recovery, from
 * errors and defects alike.
 */
export declare function sandboxWith<R, E, A, E2>(
  f: (_: Effect<R, Cause<E>, A>) => Effect<R, Cause<E2>, A>,
  __trace?: string
): (self: Effect<R, E, A>) => Effect<R, E2, A>
//# sourceMappingURL=sandboxWith.d.ts.map
