import type { Clock } from "../Clock/index.js"; import type { Has } from "../Has/index.js"; import type { Effect } from "./effect.js"; /** * Returns an effect that will timeout this effect, returning either the * default value if the timeout elapses before the effect has produced a * value; and or returning the result of applying the function `f` to the * success value of the effect. * * If the timeout elapses without producing a value, the running effect * will be safely interrupted * * @ets_data_first timeoutTo_ */ export declare function timeoutTo(d: number, b: B, f: (a: A) => B2, __trace?: string): (self: Effect) => Effect, E, B | B2>; /** * Returns an effect that will timeout this effect, returning either the * default value if the timeout elapses before the effect has produced a * value; and or returning the result of applying the function `f` to the * success value of the effect. * * If the timeout elapses without producing a value, the running effect * will be safely interrupted */ export declare function timeoutTo_(self: Effect, d: number, b: B, f: (a: A) => B2, __trace?: string): Effect, E, B | B2>; //# sourceMappingURL=timeoutTo.d.ts.map