export interface LoginAttempt {
    userId: string;
    ipAddress: string;
    userAgent: string;
    timestamp: Date;
    success: boolean;
}
export interface AnomalyResult {
    suspicious: boolean;
    reasons: string[];
    riskScore: number;
}
/** Analyze a login attempt for anomalous behavior. */
export declare function detectLoginAnomaly(attempt: LoginAttempt, recentAttempts: LoginAttempt[]): Promise<AnomalyResult>;
/** Check if there are too many failed login attempts for an account. */
export declare function checkBruteForce(recentAttempts: LoginAttempt[], maxFailures?: number, windowMs?: number): boolean;
//# sourceMappingURL=anomaly-detection.d.ts.map