//#region src/libs/runtime/with-response-cleanup.d.ts
/**
 * Keeps invocation-owned resources alive until a streamed response finishes,
 * then releases them when the body completes, fails or is cancelled.
 */
declare const withResponseCleanup: (response: Response, cleanup: () => void | Promise<void>) => Promise<Response>;
//#endregion
export { withResponseCleanup as default };
//# sourceMappingURL=with-response-cleanup.d.mts.map