import { Schedule } from "@effect/core/io/Schedule/definition";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
import { Either } from "@tsplus/stdlib/data/Either/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Returns a new schedule that first executes this schedule to completion, and
 * then executes the specified schedule to completion.
 * @tsplus operator ets/Schedule %
 * @tsplus operator ets/Schedule/WithState %
 * @tsplus fluent ets/Schedule andThenEither
 * @tsplus fluent ets/Schedule/WithState andThenEither
 * @tsplus location "@effect/core/io/Schedule/operations/andThenEither"
 */
export declare function andThenEither_<State, Env, In, Out, State1, Env1, In1, Out2>(self: Schedule<State, Env, In, Out>, that: Schedule<State1, Env1, In1, Out2>): Schedule<Tuple<[State, State1, boolean]>, Env | Env1, In & In1, Either<Out, Out2>>;
/**
 * Returns a new schedule that first executes this schedule to completion, and
 * then executes the specified schedule to completion.
 * @tsplus static ets/Schedule/Aspects andThenEither
 * @tsplus pipeable ets/Schedule andThenEither
 * @tsplus location "@effect/core/io/Schedule/operations/andThenEither"
 */
export declare const andThenEither: <State1, Env1, In1, Out2>(that: import("../definition").Schedule<State1, Env1, In1, 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, boolean]>, Env_1 | Env1, In & In1, import("@tsplus/stdlib/data/Either").Either<Out, Out2>>;
//# sourceMappingURL=andThenEither.d.ts.map