// THIS FILE IS AUTO GENERATED, DON"T EDIT IT DIRECTLY.
// Type definitions for index.js
/**
 * NSocket
 */
export class NSocket {
	/**
	 * Listen
	 * @param req
	 * @param scontrol
	 * @return
	 */
	Listen (req : any, callback : any, scontrol : any): any;
	/**
	 * ReadWriteCloseConn
	 * @param req
	 * @param scontrol
	 * @return
	 */
	ReadWriteCloseConn (req : any, callback : any, scontrol : any): any;
	/**
	 * Dial
	 * @param req
	 * @param scontrol
	 * @return
	 */
	Dial (req : any, callback : any, scontrol : any): any;
	/**
	 * Connect
	 * @param req
	 * @param scontrol
	 * @return
	 */
	Connect (req : any, callback : any, scontrol : any): any;
}
