import { Application } from 'express';
import BaseSocketHandler from './BaseSocketHandler';
import { ApplicationOptionType } from '@/types/ApplicationOptionType';
/**
 * Application Sever class
 */
export default class ApplicationServer {
    static app: Application;
    static socketHandlers: Array<{
        path: string;
        handler: BaseSocketHandler;
    }>;
    /**
     * Initializes the application server
     * @param {number} port  port for the micro service
     * @param {ApplicationOptionType} options additional server configuration
     * @param {Array<String>} sync models to be sync to the database
     *
     */
    static bootstrap(port: number, options?: ApplicationOptionType, sync?: Array<string> | Boolean): Promise<void>;
    static getInstance(): Application;
    static getWebsocketHandlers(): Array<{
        path: string;
        handler: any;
    }>;
}
//# sourceMappingURL=ApplicationServer.d.ts.map