import type { ServerAdapter } from './adapter/ServerAdapter'; import type { ServerConfig } from './ServerConfig'; import { ActionBox } from './ActionBox'; import { SpecialPropertiesFactoryManager } from './SpecialPropertiesFactoryManager'; import { ServerController } from './ServerController'; export declare class Server { readonly config: ServerConfig; readonly actions: Map>; readonly specialFactories: SpecialPropertiesFactoryManager; protected readonly adapter: ServerAdapter; protected readonly controller: ServerController; constructor(config: ServerConfig); getAdapter(): ServerAdapter; getServerController(): ServerController; addAction(name: string, action: T): Promise>; getActionBox(actionName: string): ActionBox; close(): Promise; protected createActionBox(name: string, action: T): ActionBox; protected initMetaAction(): Promise; protected prepareActionSettings(ab: ActionBox): void; }