import Io from 'socket.io';
import Application from '../application';
import { ILogger, IServerInfo } from './IApplication';
export interface IProxyOpts {
    context?: Application;
    routerContext?: Application;
    bufferMsg?: boolean;
    interval?: number;
}
export interface IServices {
    [key: string]: IService;
}
export interface IService {
    [key: string]: Function;
}
export interface IConnectorOpts {
    connector?: Function;
    socketOpts?: Io.ServerOptions;
}
export interface IServiceOpts {
    singleSession?: boolean;
}
export interface IApplicationOpts extends IProxyOpts, IServiceOpts {
    logger?: ILogger;
    base?: string;
    rpcServer?: {
        create: Function;
    };
    serverInfo: IServerInfo;
}
