/** * A domain's IP lists hold regular expressions, matched against the client address as they are written * (`^10\.` for a prefix). One entry that is not a regular expression used to throw on every request of the * domain, so the lists are checked when they are saved, and a bad entry already stored is passed over. */ export declare const IP_LISTS: readonly ["whitelist", "blacklist", "protectedlist"]; /** True when an entry of the list matches the address. A stored entry that does not compile matches nothing. */ export declare function ipListMatches(entries: unknown[], ip: string): boolean; /** Refuses the first entry, of whichever list, that is blank or not a regular expression - naming the list and the entry. */ export declare function refuseBadIPList(iplist: Record | null | undefined): void;