import { IMiddlewareOptions } from '../../definitions/config'; export interface ICsrfOptions { env: string[]; excluded: string[]; csrfSecretName: string; csrfTokenName: string; saltLength: number; secretLength: number; maxAge: number; } export interface IHstsOptions { maxAge: number; includeSubDomains?: boolean; preload?: boolean; } export interface IAstroboySecurityPluginMiddlewareExtends { 'astroboy-security-csrf': IMiddlewareOptions>; 'astroboy-security-cto': IMiddlewareOptions; 'astroboy-security-frameOptions': IMiddlewareOptions; 'astroboy-security-hsts': IMiddlewareOptions; 'astroboy-security-p3p': IMiddlewareOptions<{ value?: string; } | string>; 'astroboy-security-xss': IMiddlewareOptions; 'astroboy-security-xssProtection': IMiddlewareOptions; }