import type { IncomingMessage } from "node:http"; import type { Socket } from "node:net"; import type { NextFunction, Request, Response } from "express"; export declare function parseAllowIps(raw: unknown): string[]; export declare function isValidIpEntry(entry: string): boolean; export declare function isIpAllowed(clientIp: string, entries: string[]): boolean; export declare function getAccessControlEntries(): string[]; export declare function refreshAccessControlCache(): void; export declare function accessControlMiddleware(req: Request, res: Response, next: NextFunction): void; export declare function isUpgradeAllowed(request: IncomingMessage, socket: Socket): boolean;