import { Effect, Scope } from "effect"; import { HttpClient, HttpServerRequest, HttpServerResponse } from "effect/unstable/http"; import type { GatewayEndpoint } from "../endpoints/endpoint-module.js"; import type { ProvenanceSink } from "../observability/provenance.js"; export type GatewayHttpState = { draining: () => boolean; endpoints: readonly Pick, "matches" | "handle">[]; provenance: ProvenanceSink | undefined; }; export declare function buildGatewayHttpEffect(state: GatewayHttpState): Effect.Effect, never, HttpClient.HttpClient | import("@effect/platform-node/NodeServices").NodeServices>;