import type { _A, _E, _R } from "../../Utils";
import type { Stream } from "./definitions";
/**
 * Compact the union produced by the result of f
 *
 * @ets_optimize identity
 */
export declare function unionFn<ARGS extends any[], Ret extends Stream<any, any, any>>(_: (...args: ARGS) => Ret): (...args: ARGS) => Stream<_R<Ret>, _E<Ret>, _A<Ret>>;
/**
 * Compact the union
 *
 * @ets_optimize identity
 */
export declare function union<Ret extends Stream<any, any, any>>(_: Ret): Stream<_R<Ret>, _E<Ret>, _A<Ret>>;
//# sourceMappingURL=union.d.ts.map