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/e0b7a2bcf575cfba10528c4e7c10bd3ce2d7769a/node_modules/@tanstack/react-router/dist/esm/ssr/defaultRenderHandler.js.map
