UNPKG

@tanstack/start-server-core

Version:

Modern and scalable routing for React applications

28 lines (21 loc) 796 B
declare module 'tanstack-start-manifest:v' { import type { Manifest } from '@tanstack/router-core' export const tsrStartManifest: () => Manifest & { clientEntry: string } } declare module 'tanstack-start-route-tree:v' { import type { AnyRoute } from '@tanstack/router-core' export const routeTree: AnyRoute | undefined } declare module '#tanstack-start-server-fn-resolver' { export type ServerFnLookupAccess = { origin: 'client' } | { origin: 'server' } export type ServerFn = ((...args: Array<any>) => Promise<any>) & { method?: 'GET' | 'POST' } export function getServerFnById( id: string, access: ServerFnLookupAccess, ): Promise<ServerFn> } declare module 'tanstack-start-injected-head-scripts:v' { export const injectedHeadScripts: string | undefined }