export declare function isHtmlNonceCachePlaceholder(value: unknown): value is string; /** * Replace only inline script/style nonce attributes that already hold the * render's unpredictable response nonce. The random placeholder is internal * to this cache entry, so raw application markup cannot opt itself into nonce * rebinding on a later request. */ export interface SealedHtmlNonce { readonly html: string; readonly placeholder?: string; } export declare function sealHtmlNonceForCache(html: string, nonce?: string): SealedHtmlNonce; /** Reject legacy/unsealed entries whenever the response enforces a nonce. */ export declare function isHtmlNonceCacheCompatible(placeholder: string | undefined, nonce?: string): boolean; /** Bind an internally authenticated cache slot to the current response. */ export declare function bindHtmlNonceFromCache(html: string, placeholder: string | undefined, nonce?: string): string; export declare function addNonceToHtmlTags(html: string, nonce?: string): string; export declare function addNonceToHtmlStream(stream: ReadableStream, nonce?: string): ReadableStream; //# sourceMappingURL=nonce-injection.d.ts.map