UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

13 lines (12 loc) 452 B
import type { RequestHandler } from 'express'; import type { Worker } from '../../../std/index.js'; import { CSPDirectivesBuilder } from '../../lib/server/CSPDirectivesBuilder.js'; interface Input { } type Output = RequestHandler; export declare class HelmetMiddlewareBuilder implements Worker<Input, Output> { private cspDirectivesBuilder; constructor(cspDirectivesBuilder: CSPDirectivesBuilder); exec(_input: Input): Output; } export {};