import type { ServerResponse } from "http"; import { Agent } from "../../agent/Agent"; import type { ServerHttp2Stream } from "http2"; declare const checkedBlocks: unique symbol; /** * Inspects the IP address and user agent of the request: * - Whether the IP address is blocked by an IP blocklist (e.g. Geo restrictions) * - Whether the IP address is allowed to access the current route (e.g. Admin panel) * - Whether the user agent is blocked by a user agent blocklist */ export declare function blockIPsAndBots(res: (ServerResponse | ServerHttp2Stream) & { [checkedBlocks]?: boolean; }, agent: Agent): boolean; export {};