import "@fastify/cors"; import type { FastifyInstance } from "fastify"; declare module "fastify" { interface FastifyReply { cspNonce: { script: string; style: string; }; locals: Locals; } interface Locals { scriptNonce: FastifyReply["cspNonce"]["script"]; styleNonce: FastifyReply["cspNonce"]["style"]; } } export interface CspReport { "csp-report": { "blocked-uri": string; "document-uri": string; "original-policy": string; referrer: string; "violated-directive": string; "script-sample"?: string; }; } export declare const StarscreamSecurity: (server: FastifyInstance) => Promise;