import { ReadonlyNonEmptyArray } from 'fp-ts/lib/ReadonlyNonEmptyArray'; import { Stream } from '../uri'; declare type UnwrapOutputs>, Output extends ReadonlyArray = []> = SA extends readonly [ Stream, ...infer R extends ReadonlyArray> ] ? UnwrapOutputs : Output; declare type OutputMapper>, R> = (...args: [...UnwrapOutputs]) => R; declare type Condition>> = OutputMapper; /** * {@link Stream} comprehension. * * ``` * { f(x, y, ...) | x ← xs, y ← ys, ..., g(x, y, ...) } * ``` * * @export * @template R The output type. * @template I The input parameters array type. * @param {I} input The input streams. * @param {OutputMapper} f The output mapper function. * @param {Condition} [g] Optional condition function. * @return {Stream} The output stream. * * @__PURE__ */ export declare function comprehension>>(input: I, f: OutputMapper, g?: Condition): Stream; export {};