import { Effect } from "effect"; import { type GatewayOptions } from "../gateway-service.js"; /** * Own a gateway listener for the current Effect scope. * * The scope closes the listener on interruption so a leaked stream cannot * outlive the generation. */ export declare function scopedGateway(options: GatewayOptions): Effect.Effect;