/** Generate a CSRF token using Web Crypto. */
export declare function generateToken(): Promise<string>;
/** Validate a submitted CSRF token against the stored value using constant-time comparison. */
export declare function validateToken(token: string, storedToken: string): boolean;
//# sourceMappingURL=csrf.d.ts.map