import { Schedule } from "@effect/core/io/Schedule/definition";
import { Duration } from "@tsplus/stdlib/data/Duration";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Return a new schedule that automatically resets the schedule to its initial
 * state after some time of inactivity defined by `duration`.
 * @tsplus fluent ets/Schedule resetAfter
 * @tsplus fluent ets/Schedule/WithState resetAfter
 * @tsplus location "@effect/core/io/Schedule/operations/resetAfter"
 */
export declare function resetAfter_<State, Env, In, Out>(self: Schedule<State, Env, In, Out>, duration: Duration): Schedule<Tuple<[State, Maybe<number>]>, Env, In, Out>;
/**
 * Return a new schedule that automatically resets the schedule to its initial
 * state after some time of inactivity defined by `duration`.
 * @tsplus static ets/Schedule/Aspects resetAfter
 * @tsplus pipeable ets/Schedule resetAfter
 * @tsplus location "@effect/core/io/Schedule/operations/resetAfter"
 */
export declare const resetAfter: (duration: Duration) => <State, Env_1, In, Out>(self: import("../definition").Schedule<State, Env_1, In, Out>) => import("../definition").Schedule<import("@tsplus/stdlib/data/Tuple").Tuple<[State, import("@tsplus/stdlib/data/Maybe").Maybe<number>]>, Env_1, In, Out>;
//# sourceMappingURL=resetAfter.d.ts.map