import type { SecurityHeadersConfig } from "../config/index.js"; /** Default security headers applied when `security.headers` is not `false`. */ export declare const DEFAULT_SECURITY_HEADERS: Required>; /** * Builds the security headers map from the resolved config. * Returns an empty map if headers are disabled. */ export declare function buildSecurityHeaders(config: SecurityHeadersConfig | false, isHttps: boolean, nonce?: string): Record; /** * Applies security headers to an existing Response, preserving any * user-set headers unless overridden by security config. */ export declare function applySecurityHeaders(response: Response, headers: Record): Response;