import type { NestContext } from '#adapter/core/context'; type TrustProxy = boolean | number | string | readonly string[]; interface Forwarded { readonly addresses: string[]; readonly hosts: string[]; readonly protocols: string[]; } interface RequestOptions { readonly trustProxy: TrustProxy; } declare const forwardedValues: (context: NestContext, options: RequestOptions) => Forwarded; declare const addressOf: (forwardedFor: readonly string[], socket: string | undefined, trustProxy: TrustProxy) => string | undefined; export { addressOf, forwardedValues, type Forwarded, type RequestOptions, type TrustProxy }; //# sourceMappingURL=forwarded.d.ts.map