import type { Promise } from "../Promise/promise.js"; import type { Effect } from "./effect.js"; /** * Returns an effect that keeps or breaks a promise based on the result of * this effect. Synchronizes interruption, so if this effect is interrupted, * the specified promise will be interrupted, too. * * @ets_data_first to_ */ export declare function to(p: Promise, __trace?: string): (effect: Effect) => Effect; /** * Returns an effect that keeps or breaks a promise based on the result of * this effect. Synchronizes interruption, so if this effect is interrupted, * the specified promise will be interrupted, too. */ export declare function to_(effect: Effect, p: Promise, __trace?: string): Effect; //# sourceMappingURL=to.d.ts.map