import type { Effect } from "./effect.js"; /** * Recovers from all errors. */ export declare function catchAll_(effect: Effect, f: (e: E2) => Effect, __trace?: string): Effect; /** * Recovers from all errors. * * @ets_data_first catchAll_ */ export declare function catchAll(f: (e: E2) => Effect, __trace?: string): (effect: Effect) => Effect; /** * Recovers from specified error. * * @ets_data_first catch_ */ declare function _catch(tag: N, k: K, f: (e: Extract) => Effect, __trace?: string): (self: Effect) => Effect, A1 | A>; /** * Recovers from specified error. */ export declare function catch_(self: Effect, tag: N, k: K, f: (e: Extract) => Effect, __trace?: string): Effect | E1, A | A1>; /** * Recovers from specified error. * * @ets_data_first catchTag_ */ export declare function catchTag(k: K, f: (e: Extract) => Effect, __trace?: string): (self: Effect) => Effect, A1 | A>; /** * Recovers from specified error. */ export declare function catchTag_(self: Effect, k: K, f: (e: Extract) => Effect, __trace?: string): Effect | E1, A | A1>; export { _catch as catch }; //# sourceMappingURL=catchAll.d.ts.map