export declare class Keys { key: string; cert: string; ca: string[]; } export declare class TradechatServerConfig { port: number; pathRoot: string; uploadDirectory: string; } import { Db } from "mongodb"; import { TradechatRoomController, TradechatRoom } from "./app/rooms"; import { TradechatUserController, TradechatUser } from "./app/users"; import { FmeUser, StripeId, LiteUser } from "./app/user-models"; import { TradechatMessageController, TradechatMessage } from "./app/messages"; import { PollController } from "./app/poll"; import { TradeChatRosterController } from "./app/roster"; import { PassportController } from "./config/passport"; import { TradechatCompanyController, TradechatCompany } from "./app/companies"; import { TradechatEmailController, TradechatEmail } from "./app/email"; import { TradechatProductController, TradechatProduct } from "./app/products"; import { TradechatCodeController, TradechatCode } from "./app/codes"; import { TradechatGroupController, TradechatGroup } from "./app/groups"; export { TradechatRoomController, TradechatRoom, TradechatUserController, TradechatUser, TradechatMessageController, TradechatMessage, PollController, TradeChatRosterController, PassportController, FmeUser, TradechatServer, StripeId, LiteUser, TradechatCodeController, TradechatCode, TradechatCompanyController, TradechatCompany, TradechatEmailController, TradechatEmail, TradechatGroupController, TradechatGroup, TradechatProductController, TradechatProduct, }; declare class TradechatServer { routes: any; ioRoutes: any; keys: Keys; config: TradechatServerConfig; version: string; production: boolean; app: any; rooms: TradechatRoomController; users: TradechatUserController; messages: TradechatMessageController; mail: TradechatEmailController; poll: PollController; roster: TradeChatRosterController; codes: TradechatCodeController; companies: TradechatCompanyController; groups: TradechatGroupController; products: TradechatProductController; db: Db; io: any; ioOptions: { "force new connection": boolean; "reconnection": boolean; "reconnectionDelay": number; "reconnectionDelayMax": number; "reconnectionAttempts": string; "timeout": number; "transports": string[]; "path": string; }; constructor(routes: any, ioRoutes: any, keys: Keys, config: TradechatServerConfig); init: () => Promise; openDatabase: () => Promise; initServer: () => Promise; }