import type { RSCPayload } from "./types.js"; export declare class RSCProductionOptimizer { static optimizePayload(payload: RSCPayload): RSCPayload; private static minifyHTML; static getCacheHeaders(options?: { isStatic?: boolean; maxAge?: number; }): Record; static generateETag(payload: RSCPayload): string; static checkETag(requestETag: string | null, payloadETag: string): boolean; static optimizeClientRefs(clientRefs: Record, cdnPrefix?: string): Record; static bundlePayloads(payloads: Map): { bundles: Record; manifest: Record; }; private static generateBundleId; static generatePreloadLinks(clientRefs: Record): string[]; /** * CSP directives for RSC JSON responses. * Note: For HTML responses, use the security config with nonce support instead. * This is intentionally strict since RSC responses are JSON, not HTML with inline scripts. */ static getCSPDirectives(): Record; static generateCSP(): string; } //# sourceMappingURL=production-optimizer.d.ts.map