import { Effect } from "@effect/core/io/Effect/definition";
import { Fiber } from "@effect/core/io/Fiber/definition";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Acts on the children of this fiber (collected into a single fiber),
 * guaranteeing the specified callback will be invoked, whether or not this
 * effect succeeds.
 * @tsplus fluent ets/Effect ensuringChild
 * @tsplus location "@effect/core/io/Effect/operations/ensuringChild"
 */
export declare function ensuringChild_<R, E, A, R2, X>(self: Effect<R, E, A>, f: (_: Fiber<any, Chunk<unknown>>) => Effect<R2, never, X>, __tsplusTrace?: string): Effect<R | R2, E, A>;
/**
 * Acts on the children of this fiber (collected into a single fiber),
 * guaranteeing the specified callback will be invoked, whether or not
 * this effect succeeds.
 * @tsplus static ets/Effect/Aspects ensuringChild
 * @tsplus pipeable ets/Effect ensuringChild
 * @tsplus location "@effect/core/io/Effect/operations/ensuringChild"
 */
export declare const ensuringChild: <R2, X>(f: (_: Fiber<any, Chunk<unknown>>) => import("../definition").Effect<R2, never, X>, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R | R2, E, A>;
//# sourceMappingURL=ensuringChild.d.ts.map