import { CRUDService, CacheService, LockResult, OperationResult } from "../interfaces"; export declare class SecurityService { protected cacheService: CacheService; protected userService: CRUDService; constructor(cacheService: CacheService, userService: CRUDService); static LIMIT_TO_LOCK_USER: number; static genLockUserCacheKey(userId: number): string; addFailureCount(userId: number, cacheKey?: string): Promise; clearFailureCount(userId: number, cacheKey?: string): Promise; shouldLockUser(userId: number, cacheKey?: string): Promise>; }