import { BaseEntityClass } from "../base/base.entity"; export declare enum BLACKLIST_ENTRY_TYPE { IPV4 = "ipv4", IPV6 = "ipv6" } export declare class BlacklistEntrySource { url: string; } export declare class BlacklistEntryEntity extends BaseEntityClass { /** * Reason for blocking this IP (if any) */ reason: string; /** * Type of IP */ type: BLACKLIST_ENTRY_TYPE; /** * IP */ ip: string; /** * Hits * The number of times this entry has been invoked. */ hits: number; /** * Expires at (unix time in seconds) * Optionally: Set an expiry for an entry on the blacklist */ expiresAt: number; /** * Set if entry has been imported from a blocklist */ imported: boolean; /** * Set if entry has been imported from a blocklist */ source: BlacklistEntrySource; }