import { SecurityEventType } from '../../utils/logger.js'; import type { Request, Response, NextFunction } from 'express'; interface SecurityEventAttributes { eventType: SecurityEventType; userId?: string; resource?: string; action?: string; result?: 'success' | 'failure'; reason?: string; ip?: string; userAgent?: string; [key: string]: any; } export declare function recordSecurityEvent(attributes: SecurityEventAttributes): void; export declare function wrapAuthentication Promise>(fn: T, method: string): T; export declare function wrapAuthorization Promise>(fn: T, resource: string, action: string): T; export declare function instrumentCsrfValidation(validator: (req: Request) => boolean): (req: Request) => boolean; export declare function instrumentRateLimiter(limiter: (req: Request, res: Response, next: NextFunction) => void): (req: Request, res: Response, next: NextFunction) => void; export {}; //# sourceMappingURL=security.d.ts.map