import type * as P from "../../../../Promise/index.js"; import * as C from "../core.js"; /** * Interrupts the evaluation of this stream when the provided promise resolves. This * combinator will also interrupt any in-progress element being pulled from upstream. * * If the promise completes with a failure, the stream will emit that failure. */ export declare function interruptWhenP_(self: C.Stream, p: P.Promise): C.Stream; /** * Interrupts the evaluation of this stream when the provided promise resolves. This * combinator will also interrupt any in-progress element being pulled from upstream. * * If the promise completes with a failure, the stream will emit that failure. * * @ets_data_first interruptWhenP_ */ export declare function interruptWhenP(p: P.Promise): (self: C.Stream) => C.Stream; //# sourceMappingURL=interruptWhenP.d.ts.map