import type { WorkerRequestHandler, WorkerUpgradeHandler } from './types'; import '../node-polyfill-fetch'; import '../node-environment'; import '../require-hook'; import '../../lib/polyfill-promise-with-resolvers'; export type RenderServer = Pick; export interface LazyRenderServerInstance { instance?: RenderServer; } export declare function initialize(opts: { dir: string; port: number; dev: boolean; server?: import('http').Server; minimalMode?: boolean; hostname?: string; isNodeDebugging: boolean; keepAliveTimeout?: number; customServer?: boolean; experimentalTestProxy?: boolean; experimentalHttpsServer?: boolean; }): Promise<[WorkerRequestHandler, WorkerUpgradeHandler]>;