import { Schedule } from "@effect/core/io/Schedule/definition";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
/**
 * The same as `either` followed by `map`.
 * @tsplus fluent ets/Schedule eitherWith
 * @tsplus fluent ets/Schedule/WithState eitherWith
 * @tsplus location "@effect/core/io/Schedule/operations/eitherWith"
 */
export declare function eitherWith_<State, Env, In, Out, State1, Env1, In1, Out2, Out3>(self: Schedule<State, Env, In, Out>, that: Schedule<State1, Env1, In1, Out2>, f: (out: Out, out2: Out2) => Out3): Schedule<Tuple<[State, State1]>, Env | Env1, In & In1, Out3>;
/**
 * The same as `either` followed by `map`.
 * @tsplus static ets/Schedule/Aspects eitherWith
 * @tsplus pipeable ets/Schedule eitherWith
 * @tsplus location "@effect/core/io/Schedule/operations/eitherWith"
 */
export declare const eitherWith: <Out, State1, Env1, In1, Out2, Out3>(that: import("../definition").Schedule<State1, Env1, In1, Out2>, f: (out: Out, out2: Out2) => Out3) => <State, Env_1, In>(self: import("../definition").Schedule<State, Env_1, In, Out>) => import("../definition").Schedule<import("@tsplus/stdlib/data/Tuple").Tuple<[State, State1]>, Env_1 | Env1, In & In1, Out3>;
//# sourceMappingURL=eitherWith.d.ts.map