import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Effect } from "@effect/core/io/Effect/definition";
import { Stream } from "@effect/core/stream/Stream/definition";
/**
 * Creates a one-element stream that never fails and executes the finalizer
 * when it ends.
 * @tsplus static ets/Stream/Ops finalizer
 * @tsplus location "@effect/core/stream/Stream/operations/finalizer"
 */
export declare function finalizer<R, Z>(finalizer: LazyArg<Effect<R, never, Z>>, __tsplusTrace?: string): Stream<R, never, void>;
//# sourceMappingURL=finalizer.d.ts.map