import { DecoratedRequest, DecoratedRequest as DecoratedRequest$1, NodeRequestAdapterOptions, PossiblyEncryptedSocket, RequestOrigin, createRequestAdapter, env, requestSymbol } from "@universal-middleware/node"; //#region src/request.d.ts /** * The host Express gives `req` under its `trust proxy` setting: the first `X-Forwarded-Host`, when the setting * trusts the peer, as Express 5's `req.host` reads it. Express 4 has no such getter: its `req.host` drops the port. * The protocol needs nothing: `req.protocol` follows `trust proxy` in both, and the request adapter reads it. */ export declare function expressOrigin(req: DecoratedRequest$1): RequestOrigin | undefined; //#endregion export { type DecoratedRequest, type NodeRequestAdapterOptions, type PossiblyEncryptedSocket, createRequestAdapter, env, requestSymbol };