/// import * as express from "express"; import * as fastify from 'fastify'; import * as http from 'http'; import { SettingOptions } from "./SettingOptions"; export declare class ApplicationLoader { private _server; private _handlerAdapter; private _loaderAdapter; private _env; private _rootDir?; private _files?; private _port; private _host; private _backlog; private _ext; private _lazyInit; readonly server: fastify.FastifyInstance | express.Application; readonly env: string; readonly rootDir: string | undefined; readonly files: string | undefined; readonly port: string; readonly host: string; readonly backlog: number; private $onClose; /** * Load user defined settings into ApplicationLoader * Initialize settings */ constructor(typeOrServer: string | fastify.FastifyInstance | express.Application, settings?: SettingOptions); private _loadComponents; private _initializeComponents; private _init; private _loadMiddlewares; private _loadControllers; private _loadErrorMiddlewares; start(): Promise; private _isExpress; private _isFastify; }