import { SharedApplicationAdapter } from '../shared/runtime/application-adapter.js'; import type { RuntimeHost } from '../shared/runtime/runtime-host.js'; import type { EcopagesAppOptions } from '../create-app.js'; import { type NodeServerAdapterResult, createNodeServerAdapter } from './server-adapter.js'; import type { NodeServerInstance } from './server-adapter.js'; export declare class NodeEcopagesApp extends SharedApplicationAdapter { serverAdapter: NodeServerAdapterResult | undefined; private server; private runtimeOrigin; private stopped; private readonly runtimeHost; constructor(options: EcopagesAppOptions, dependencies: { runtimeHost: RuntimeHost; }); protected createServerAdapter(params: Parameters[0]): Promise; stop(force?: boolean): Promise; protected resolveAppRoutes(): Promise; protected initializeServerAdapter(): Promise; protected bootServer(): Promise; fetch(request: Request): Promise; attachWebSocketUpgrades(httpServer: import('node:http').Server, options?: { passthroughUnmatched?: boolean; }): Promise; } export declare function createNodeApp(options: EcopagesAppOptions): Promise; export declare function createApp(options: EcopagesAppOptions): Promise;