UNPKG

secure-kit

Version:

Production-grade security + performance toolkit for backend frameworks with OWASP Top 10 compliance

17 lines 725 B
import type { FastifyInstance, FastifyPluginOptions } from 'fastify'; import { SecurityManager } from '../core/security'; import { PerformanceManager } from '../core/performance'; import type { SecureBackendConfig } from '../types'; export declare class FastifyAdapter { private securityManager; private performanceManager; private config; constructor(config: SecureBackendConfig); createPlugin(): (fastify: FastifyInstance, _options: FastifyPluginOptions) => Promise<void>; private registerSecurityRoutes; private getClientIP; getSecurityManager(): SecurityManager; getPerformanceManager(): PerformanceManager; getConfig(): SecureBackendConfig; } //# sourceMappingURL=fastify.d.ts.map