import { Stream } from "@effect/core/stream/Stream/definition";
import { Refinement } from "@tsplus/stdlib/data/Function";
import { Predicate } from "@tsplus/stdlib/data/Predicate";
import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Finds the first element emitted by this stream that satisfies the provided
 * predicate.
 * @tsplus fluent ets/Stream find
 * @tsplus location "@effect/core/stream/Stream/operations/find"
 */
export declare function find_<R, E, A, B extends A>(self: Stream<R, E, A>, f: Refinement<A, B>, __tsplusTrace?: string): Stream<R, E, B>;
export declare function find_<R, E, A>(self: Stream<R, E, A>, f: Predicate<A>, __tsplusTrace?: string): Stream<R, E, A>;
/**
 * Finds the first element emitted by this stream that satisfies the provided
 * predicate.
 */
export declare function find<A, B extends A>(f: Refinement<A, B>, __tsplusTrace?: string): <R, E>(self: Stream<R, E, A>) => Stream<R, E, B>;
export declare function find<A>(f: Predicate<A>, __tsplusTrace?: string): <R, E>(self: Stream<R, E, A>) => Stream<R, E, A>;
//# sourceMappingURL=find.d.ts.map