import type { NextServer, RequestHandler } from '../next'; import type { DevBundlerService } from './dev-bundler-service'; import type { PropagateToWorkersField } from './router-utils/types'; export declare function clearModuleContext(target: string): Promise | undefined; export declare function deleteAppClientCache(): void | undefined; export declare function deleteCache(filePaths: string[]): void; export declare function propagateServerField(dir: string, field: PropagateToWorkersField, value: any): Promise; declare function initializeImpl(opts: { dir: string; port: number; dev: boolean; minimalMode?: boolean; hostname?: string; isNodeDebugging: boolean; keepAliveTimeout?: number; serverFields?: any; server?: any; experimentalTestProxy: boolean; experimentalHttpsServer: boolean; _ipcPort?: string; _ipcKey?: string; bundlerService: DevBundlerService | undefined; }): Promise<{ requestHandler: RequestHandler; upgradeHandler: any; app: NextServer; }>; export declare function initialize(opts: Parameters[0]): Promise<{ requestHandler: ReturnType['getRequestHandler']>; upgradeHandler: ReturnType['getUpgradeHandler']>; }>; export {};