import type { IncomingMessage, ServerResponse } from "node:http"; import type { TrinacriaSecurityMode } from "./types"; export declare function hasResponseHeader(res: ServerResponse, name: string): boolean; export declare function resolveMode(mode: TrinacriaSecurityMode | undefined): TrinacriaSecurityMode; export declare function isHttpsRequest(req: IncomingMessage, trustProxy: boolean): boolean; export declare function uniq(values: string[]): string[]; export declare function addSourceToken(existing: string[], source: string): string[]; export declare function renderDirective(directive: string, sources: string[]): string; export declare function renderCsp(entries: Array<[string, string[]]>): string;