import { AnyRouter } from '@tanstack/react-router'; import { V as ViteReactSSGContext$1, a as ViteReactSSGClientOptions } from './shared/vite-react-ssg.jgFXOhqq.js'; export { C as CrittersOptions, I as IndexRouteRecord, N as NonIndexRouteRecord, R as RouteRecord, b as RouterFutureConfig, S as StyleCollector, d as ViteReactSSGOptions } from './shared/vite-react-ssg.jgFXOhqq.js'; export { C as ClientOnly, H as Head } from './shared/vite-react-ssg.-NlgsPvg.js'; import 'beasties'; import 'react'; import 'react-router-dom'; import 'react-helmet-async'; declare function registerPaths(id: string, getStaticPaths: () => string[] | Promise): void; interface RouterOptions { router: AnyRouter; routes: AnyRouter['routeTree']; basename?: string; } type ViteReactSSGContext = Omit & { router: HasRouter extends true ? AnyRouter : undefined; routeTree?: AnyRouter['routeTree']; routerType: 'tanstack'; }; declare function Experimental_ViteReactSSG(routerOptions: RouterOptions, fn?: (context: ViteReactSSGContext) => Promise | void, options?: ViteReactSSGClientOptions): (client?: boolean, routePath?: string) => Promise>; declare global { interface Window { /** Manifest index: route path -> data file path */ __VITE_REACT_SSG_STATIC_LOADER_MANIFEST__: Record; /** Cached loader data: route path -> loader data */ __VITE_REACT_SSG_STATIC_LOADER_DATA__: Record>; __VITE_REACT_SSG_HASH__: string; __VITE_REACT_SSG_CONTEXT__: ViteReactSSGContext; } } export { Experimental_ViteReactSSG, ViteReactSSGClientOptions, registerPaths }; export type { RouterOptions, ViteReactSSGContext };