import { Schedule } from "@effect/core/io/Schedule/definition";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
/**
 * Returns a new schedule that has both the inputs and outputs of this and the
 * specified schedule.
 * @tsplus operator ets/Schedule **
 * @tsplus operator ets/Schedule/WithState **
 * @tsplus fluent ets/Schedule bothInOut
 * @tsplus fluent ets/Schedule/WithState bothInOut
 * @tsplus location "@effect/core/io/Schedule/operations/bothInOut"
 */
export declare function bothInOut_<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, Tuple<[In, In2]>, Tuple<[Out, Out2]>>;
/**
 * Returns a new schedule that has both the inputs and outputs of this and the
 * specified schedule.
 * @tsplus static ets/Schedule/Aspects bothInOut
 * @tsplus pipeable ets/Schedule bothInOut
 * @tsplus location "@effect/core/io/Schedule/operations/bothInOut"
 */
export declare const bothInOut: <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/Tuple").Tuple<[In, In2]>, import("@tsplus/stdlib/data/Tuple").Tuple<[Out, Out2]>>;
//# sourceMappingURL=bothInOut.d.ts.map