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