import { Schedule } from "@effect/core/io/Schedule/definition";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
import { Either } from "@tsplus/stdlib/data/Either/definition";
/**
 * Returns a new schedule that chooses between two schedules with a common
 * output.
 * @tsplus operator ets/Schedule ||
 * @tsplus operator ets/Schedule/WithState ||
 * @tsplus fluent ets/Schedule chooseMerge
 * @tsplus fluent ets/Schedule/WithState chooseMerge
 * @tsplus location "@effect/core/io/Schedule/operations/chooseMerge"
 */
export declare function chooseMerge_<State, Env, In, Out, State1, Env1, In2, Out2>(self: Schedule<State, Env, In, Out>, that: Schedule<State1, Env1, In2, Out2>): Schedule<Tuple<[State, State1]>, Env | Env1, Either<In, In2>, Out | Out2>;
/**
 * Returns a new schedule that chooses between two schedules with a common
 * output.
 * @tsplus static ets/Schedule/Aspects chooseMerge
 * @tsplus pipeable ets/Schedule chooseMerge
 * @tsplus location "@effect/core/io/Schedule/operations/chooseMerge"
 */
export declare const chooseMerge: <State1, Env1, In2, Out2>(that: import("../definition").Schedule<State1, Env1, In2, Out2>) => <State, Env_1, In, Out>(self: import("../definition").Schedule<State, Env_1, In, Out>) => import("../definition").Schedule<import("@tsplus/stdlib/data/Tuple").Tuple<[State, State1]>, Env_1 | Env1, import("@tsplus/stdlib/data/Either").Either<In, In2>, Out | Out2>;
//# sourceMappingURL=chooseMerge.d.ts.map