import { BuildVersion, TdsMessageConnection } from "./types"; import { EnvEncode, MonitorUser } from "./TdsMonitorServer"; declare enum LS_SERVER_TYPE { PROTHEUS = 1, LOGIX = 2, TOVSTECX = 3 } export default class TdsServer { isConnected: boolean; id: string; token: string; serverType: LS_SERVER_TYPE; address: string; port: number; serverTypeAsString: string; build: BuildVersion; secure: boolean; environment: string; lastGetUsers: number; usersList: MonitorUser[]; environmentEncoding: EnvEncode[]; protected connection: TdsMessageConnection; constructor(); connect(identification: string, serverType: number, connType: number, server: string, port: number, secure: boolean, buildVersion: BuildVersion, environment: string): Promise; authenticate(user: string, password: string, encoding?: ServerEncoding): Promise; disconnect(): Promise; reconnect(options?: Partial): Promise; validate(): Promise; stopServer(): Promise; private getServerTypeString; } declare type ServerEncoding = 'CP1252' | 'CP1251'; interface ReconnectOptions { connectionToken: string; serverName: string; connType: number; encoding?: ServerEncoding; } export {};