import { Effect } from "@effect/core/io/Effect/definition";
/**
 * @tsplus fluent ets/Effect onDone
 * @tsplus location "@effect/core/io/Effect/operations/onDone"
 */
export declare function onDone_<R, E, A, R1, X1, R2, X2>(self: Effect<R, E, A>, error: (e: E) => Effect<R1, never, X1>, success: (a: A) => Effect<R2, never, X2>, __tsplusTrace?: string): Effect.RIO<R | R1 | R2, void>;
/**
 * @tsplus static ets/Effect/Aspects onDone
 * @tsplus pipeable ets/Effect onDone
 * @tsplus location "@effect/core/io/Effect/operations/onDone"
 */
export declare const onDone: <E, A, R1, X1, R2, X2>(error: (e: E) => import("../definition").Effect<R1, never, X1>, success: (a: A) => import("../definition").Effect<R2, never, X2>, __tsplusTrace?: string) => <R>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect.RIO<R | R1 | R2, void>;
//# sourceMappingURL=onDone.d.ts.map