import { Fiber } from "@effect/core/io/Fiber/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Scope } from "@effect/core/io/Scope/definition";
/**
 * Converts this fiber into a scoped effect. The fiber is interrupted when the
 * scope is closed.
 * @tsplus fluent ets/Fiber scoped
 * @tsplus fluent ets/RuntimeFiber scoped
 * @tsplus location "@effect/core/io/Fiber/operations/scoped"
 */
export declare function scoped<E, A>(self: Fiber<E, A>, __tsplusTrace?: string): Effect<Scope, never, Fiber<E, A>>;
//# sourceMappingURL=scoped.d.ts.map