import { ReactNode } from "react"; //#region src/services/vite/ssr/insertHtml.d.ts type InsertHtmlCallback = () => ReactNode; type InsertHtml = (callback: InsertHtmlCallback) => void; type InsertHtmlQueue = { insertHtml: InsertHtml; takeQueuedCallbacks: () => InsertHtmlCallback[]; }; declare const createInsertHtmlQueue: () => InsertHtmlQueue; declare const InsertHtmlProvider: ({ insertHtml, children }: { insertHtml: InsertHtml; children: ReactNode; }) => import("react").JSX.Element; /** * Returns a function that queues React nodes for injection into the SSR * response stream between React chunks. Off the SSR path it is a silent no-op * and never throws — required so the client graph can call transports that * wire this hook at module scope. */ declare const useInsertHtml: () => InsertHtml; //#endregion export { InsertHtml, InsertHtmlCallback, InsertHtmlProvider, InsertHtmlQueue, createInsertHtmlQueue, useInsertHtml };