import { jsx } from "react/jsx-runtime";
import { defineHandlerCallback } from "@tanstack/router-core/ssr/server";
import { renderRouterToString } from "./renderRouterToString.js";
import { RouterServer } from "./RouterServer.js";
const defaultRenderHandler = defineHandlerCallback(
  ({ router, responseHeaders }) => renderRouterToString({
    router,
    responseHeaders,
    children: /* @__PURE__ */ jsx(RouterServer, { router })
  })
);
export {
  defaultRenderHandler
};//# sourceMappingURL=https://main.vscode-cdn.net/sourcemaps/ecfbad74d93962fc8ca485d93ab9b4f3d4cb6cf8/node_modules/@tanstack/react-router/dist/esm/ssr/defaultRenderHandler.js.map
