/** * IP Filter * * Allow/deny list with CIDR support for IPv4 and IPv6. * Pure computation — no storage or external dependencies. */ import type { IpFilterConfig, IpFilterResult } from './types'; export declare class IpFilter { private readonly allowRules; private readonly denyRules; private readonly defaultAction; constructor(config: IpFilterConfig); /** * Check if a client IP is allowed. */ check(clientIp: string): IpFilterResult; /** * Check if an IP is on the allow list (bypasses rate limiting). */ isAllowListed(clientIp: string): boolean; }