UNPKG

@cwagner22/react-router-hono

Version:
13 lines (10 loc) 684 B
import * as http2 from 'http2'; import * as http from 'http'; import { Env } from 'hono'; import { BlankEnv } from 'hono/types'; import { H as HonoServerOptions } from './hono-server-C1WU6XJn.js'; import 'hono/hono-base'; import 'react-router'; type HonoVercelServerOptions<E extends Env = BlankEnv> = HonoServerOptions<E>; declare const createHonoVercelServer: <E extends Env = BlankEnv>(options?: HonoVercelServerOptions<E>) => Promise<(incoming: http.IncomingMessage | http2.Http2ServerRequest, outgoing: http.ServerResponse<http.IncomingMessage> | http2.Http2ServerResponse) => Promise<void>>; export { HonoServerOptions, type HonoVercelServerOptions, createHonoVercelServer };