import { Model } from 'mongoose'; import type { Cache } from 'cache-manager'; import { BlacklistedIp } from '../schemas/blacklisted-ip.schema'; import { SecurityConfigInterface } from '../interfaces/security-config.interface'; export declare class SecurityService { private readonly cache; private readonly blacklistedIpModel?; private readonly config?; constructor(cache: Cache, blacklistedIpModel?: Model, config?: SecurityConfigInterface); blacklistIp(ips: string | string[] | undefined | null, durationHours?: number, reason?: string, blockedBy?: string, attackDetails?: { userAgent?: string; requestUrl?: string; attackPattern?: string; }): Promise; isBlacklisted(ip: string): Promise; cleanupExpiredBlocks(): Promise; removeFromBlacklist(ip: string): Promise; getBlacklistedIps(options?: { active?: boolean; limit?: number; skip?: number; sortBy?: 'createdAt' | 'expiresAt'; sortOrder?: 'asc' | 'desc'; }): Promise; getSecurityAnalytics(days?: number): Promise; } //# sourceMappingURL=security.service.d.ts.map