import type * as A from "../../Collections/Immutable/Chunk";
import type * as Ex from "../../Exit";
import type * as Option from "../../Option";
import type * as T from "../_internal/effect";
import type * as F from "../_internal/fiber";
import type { Stream } from "./definitions";
/**
 * Creates a stream from an asynchronous callback that can be called multiple times.
 * The registration of the callback returns either a canceler or synchronously returns a stream.
 * The optionality of the error type `E` can be used to signal the end of the stream, by
 * setting it to `None`.
 */
export declare function effectAsyncInterrupt<R, E, A>(register: (cb: (next: T.Effect<R, Option.Option<E>, A.Chunk<A>>, offerCb?: F.Callback<never, boolean>) => T.UIO<Ex.Exit<never, boolean>>) => T.Canceler<R>, outputBuffer?: number): Stream<R, E, A>;
//# sourceMappingURL=effectAsyncInterrupt.d.ts.map