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