import { Stream } from "@effect/core/stream/Stream/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Runs the stream to completion and yields the last value emitted by it,
 * discarding the rest of the elements.
 * @tsplus fluent ets/Stream runLast
 * @tsplus location "@effect/core/stream/Stream/operations/runLast"
 */
export declare function runLast<R, E, A>(self: Stream<R, E, A>, __tsplusTrace?: string): Effect<R, E, Maybe<A>>;
//# sourceMappingURL=runLast.d.ts.map