import type { Option } from "../Option/index.js"; import type { Effect } from "./effect.js"; /** * Unwraps the optional error, defaulting to the provided value. * * @ets_data_first flattenErrorOption_ */ export declare function flattenErrorOption(def: () => E2, __trace?: string): (self: Effect, A>) => Effect; /** * Unwraps the optional error, defaulting to the provided value. */ export declare function flattenErrorOption_(self: Effect, A>, def: () => E2, __trace?: string): Effect; //# sourceMappingURL=flattenErrorOption.d.ts.map