/// /// /// /// /// /// /// /// declare namespace EasySlackBot { interface IMainSlackOptions { SLACK_TOKEN : string; } interface IMainOptions { Slack : IMainSlackOptions; } interface IMainOnSlackMessageCallBack { ( bot: ISlackbots ): any; } interface IitemsOnMessageCallBack { ( text: string, params: any, err: any ): any; } interface IEasySlackBotItemObject { new ( bot: ISlackbots ): any; message( message: ISlackbotsMessage, callBack: any ): void; } interface ImessageOnSlackMessageCallBack { ( message: ISlackbotsMessage ): any; } }