import type { MicroModuleRuntime } from "../MicroModule.js"; import { ServerStartResult } from "./const.js"; import type { $DwebHttpServerOptions } from "./types.js"; /** 创建一个网络服务 */ export declare const createHttpDwebServer: (microModule: MicroModuleRuntime, options: $DwebHttpServerOptions, target: string) => Promise; export declare class HttpDwebServer { private readonly nmm; private readonly options; readonly startResult: ServerStartResult; readonly target: string; readonly console: any; constructor(nmm: MicroModuleRuntime, options: $DwebHttpServerOptions, startResult: ServerStartResult, target: string); /** 开始处理请求 */ listen: any; /** 关闭监听 */ close: any; } //# sourceMappingURL=$createHttpDwebServer.d.ts.map