import type { Context } from 'hono'; /** Returns whether a value is an IPv4/IPv6 address or CIDR range. */ export declare function isRule(value: string): boolean; /** Returns whether the client address matches at least one allowlist rule. */ export declare function allows(c: Context, options: allows.Options): Promise; export declare namespace allows { /** Inputs used to check a client address. */ type Options = { /** Trusted client IP address. */ address?: string | undefined; /** Exact IP and CIDR rules to match. */ rules: readonly string[]; }; } //# sourceMappingURL=IpAllowlist.d.ts.map