import { type AppendStreamingSlotsOptions, type StreamingSlotPolicy, type StreamingSlot } from '../utils/streamingSlots'; type ResponseLike = Response | Promise; export type StreamingSlotEnhancerOptions = Omit & { streamingSlots?: StreamingSlot[]; policy?: StreamingSlotPolicy; }; export declare const enhanceHtmlResponseWithStreamingSlots: (response: Response, { nonce, onError, runtimePlacement, runtimePreludeScript, streamingSlots, policy }?: StreamingSlotEnhancerOptions) => Response; export declare const withStreamingSlots: (responseLike: ResponseLike, options?: StreamingSlotEnhancerOptions) => Promise; export declare const withRegisteredStreamingSlots: (renderResponse: () => ResponseLike, options?: StreamingSlotEnhancerOptions) => Promise; export {};