import * as mobx from "mobx"; type SessionDataType = { sessionid : string, name : string, windows : WindowDataType[], cmds : CmdDataType[], }; type LineType = { sessionid : string, windowid : string, lineid : number, ts : number, userid : string, linetype : string, text : string, cmdid : string, isnew : boolean, }; type RemoteType = { remotetype : string, remoteid : string, remotename : string, remotevars : Record, status : string, defaultstate : RemoteStateType, }; type RemoteStateType = { cwd : string, }; type RemoteInstanceType = { riid : string, name : string, sessionid : string, windowid : string, remoteid : string, sessionscope : boolean, state : RemoteStateType, } type WindowDataType = { sessionid : string, windowid : string, name : string, curremote : string, lines : LineType[], version : number, }; type HistoryItem = { cmdtext : string, }; type CmdRemoteStateType = { remoteid : string remotename : string, cwd : string, }; type FeCmdPacketType = { type : string, sessionid : string, windowid : string, userid : string, cmdstr : string, remotestate : CmdRemoteStateType, } type TermOptsType = { rows : number, cols : number, flexrows : boolean, }; type CmdStartPacketType = { type : string, respid : string, ts : number, ck : string, pid : number, mshellpid : number, }; type CmdDonePacketType = { type : string, ts : number, ck : string, exitcode : number, durationms : number, }; type CmdDataType = { sessionid : string, cmdid : string, remoteid : string, cmdstr : string, remotestate : RemoteStateType, termopts : TermOptsType, status : string, startpk : CmdStartPacketType, donepk : CmdDonePacketType, runout : any[], }; export type {SessionDataType, LineType, RemoteType, RemoteStateType, RemoteInstanceType, WindowDataType, HistoryItem, CmdRemoteStateType, FeCmdPacketType, TermOptsType, CmdStartPacketType, CmdDonePacketType, CmdDataType};