import { Effect, Fiber } from "effect";
//#region src/Functions.d.ts
/**
* Keeps the Function running until `fiber` ends, as `waitUntil` from
* `@vercel/functions` does for a promise. Off Vercel it does nothing.
*
* The fiber must outlive the request fiber, so fork it with
* `Effect.forkDetach` or into a scope that outlives the request. A child
* fiber is interrupted when the request fiber ends. Failures are not
* reported, so handle them in the forked effect.
*/
export declare const waitUntil: (fiber: Fiber.Fiber) => Effect.Effect;
//#endregion
//# sourceMappingURL=Functions.d.ts.map