/** * Global default options used for the initial setup. */ export declare const defaultOptions: CsrfOptions; /** * Configuration options for the CSRF protections. */ export interface CsrfOptions { /** The name of the cookie to store the token. Defaults to 'csrfToken' */ cookieName: string; /** Security and lifetime options for the cookie */ cookieOptions: { /** Prevent client-side JS from accessing the cookie */ httpOnly: boolean; /** Require HTTPS (usually set to true in production automatically) */ secure: boolean; /** Cookie lifetime in milliseconds. Defaults to 1 hour */ maxAge: number; }; /** Length of the random bytes generator. Output will be hex (x2 string length). */ tokenLength: number; } //# sourceMappingURL=options.d.ts.map