import type { Context, Next } from 'hono'; import type { Database } from '@prodobit/database'; /** * CSRF Protection Middleware * Implements Double-Submit Cookie pattern for CSRF protection */ export declare const csrfProtection: (c: Context<{ Variables: { db: Database; }; }>, next: Next) => Promise)>; /** * Enhanced Auth Middleware with CSRF and device fingerprinting */ export declare const enhancedAuthMiddleware: (c: Context<{ Variables: { db: Database; }; }>, next: Next) => Promise)>; /** * Rate limiting middleware for auth endpoints */ export declare const authRateLimit: (requests?: number, windowMs?: number) => (c: Context, next: Next) => Promise)>; //# sourceMappingURL=csrf.d.ts.map