// TODO merge into vite/types /** The list of input keys will become optional, everything else will remain the same. */ export type PickPartial = Omit & Partial> export type GlobbedRouteImports = Record Promise> export type Endpoint = (req: Request) => Response | string | Object | null export type Options = { ignore?: RegExp[] preserveApiRoutes?: boolean ignoreRequireErrors?: boolean ignoreEntryPoints?: boolean /* Used to simplify testing for toEqual() comparison */ internal_stripLoadRoute?: boolean /* Used to simplify by skipping the generated routes */ skipGenerated?: boolean importMode?: string platformRoutes?: boolean platform?: string } export type RenderApp = (props: RenderAppProps) => Promise export type LoaderProps> = { path: string params: Params request?: Request } export type RenderAppProps = { path: string preloads?: string[] css?: string[] loaderServerData?: any loaderData?: any loaderProps?: LoaderProps }