export declare function cleanupCsrf(): void; /** * Generates a cryptographically secure CSRF token */ export declare function generateCsrfToken(): string; /** * Middleware to generate and attach CSRF token to response * Use this on GET routes where you want to issue a token */ export declare const generateCsrfMiddleware: import("express").RequestHandler>; /** * Middleware to validate CSRF token * Use this on state-changing routes (POST, PUT, DELETE, PATCH) */ export declare const csrfProtection: import("express").RequestHandler>; //# sourceMappingURL=csrf.d.ts.map