import * as $protobuf from "protobufjs";
declare var api: typeof npm$namespace$api;
declare var npm$namespace$api: {|
FileAuthMethod: typeof api$FileAuthMethod,
State: typeof api$State,
Command: typeof api$Command,
Audio: typeof api$Audio,
Audio2: typeof api$Audio2,
ReadMeta: typeof api$ReadMeta,
WriteMeta: typeof api$WriteMeta,
AppendMeta: typeof api$AppendMeta,
Pid1Config: typeof api$Pid1Config,
FSLock: typeof api$FSLock,
FSSnapshot: typeof api$FSSnapshot,
SubscribeFile: typeof api$SubscribeFile,
Flush: typeof api$Flush,
OTLinkFile: typeof api$OTLinkFile,
Auth: typeof api$Auth,
StartVCR: typeof api$StartVCR,
ReadVCR: typeof api$ReadVCR,
VCRLog: typeof api$VCRLog,
ExecInfo: typeof api$ExecInfo,
Debug: typeof api$Debug,
FileAuthReq: typeof api$FileAuthReq,
MultiFileAuthRes: typeof api$MultiFileAuthRes,
FileAuthRes: typeof api$FileAuthRes,
ListObjects: typeof api$ListObjects,
ListObjectsResp: typeof api$ListObjectsResp,
Disconnect: typeof api$Disconnect,
Send: typeof api$Send,
Recv: typeof api$Recv,
Connect: typeof api$Connect,
Hint: typeof api$Hint,
Ping: typeof api$Ping,
Pong: typeof api$Pong,
Hello: typeof api$Hello,
Goodbye: typeof api$Goodbye,
CheckChanges: typeof api$CheckChanges,
EnsurePackages: typeof api$EnsurePackages,
Start: typeof api$Start,
DebugStatus: typeof api$DebugStatus,
StackFrame: typeof api$StackFrame,
ContainedTest: typeof api$ContainedTest,
TestResult: typeof api$TestResult,
TestFailure: typeof api$TestFailure,
ResizeTerm: typeof api$ResizeTerm,
SaneTerm: typeof api$SaneTerm,
LintResults: typeof api$LintResults,
LintResult: typeof api$LintResult,
OK: typeof api$OK,
Move: typeof api$Move,
Files: typeof api$Files,
StatResult: typeof api$StatResult,
Clear: typeof api$Clear,
Toast: typeof api$Toast,
Redirect: typeof api$Redirect,
IncRef: typeof api$IncRef,
RunMain: typeof api$RunMain,
PortOpen: typeof api$PortOpen,
OTFetchRequest: typeof api$OTFetchRequest,
OTFetchResponse: typeof api$OTFetchResponse,
OTPacket: typeof api$OTPacket,
OTRuneTransformOp: typeof api$OTRuneTransformOp,
OTStatus: typeof api$OTStatus,
OTCursor: typeof api$OTCursor,
ChatMessage: typeof api$ChatMessage,
ChatTyping: typeof api$ChatTyping,
User: typeof api$User,
Roster: typeof api$Roster,
Exec: typeof api$Exec,
Package: typeof api$Package,
PackageSearch: typeof api$PackageSearch,
PackageSearchResp: typeof api$PackageSearchResp,
PackageInfo: typeof api$PackageInfo,
PackageInfoResp: typeof api$PackageInfoResp,
PackageAdd: typeof api$PackageAdd,
PackageRemove: typeof api$PackageRemove,
PackageInstall: typeof api$PackageInstall,
PackageListSpecfile: typeof api$PackageListSpecfile,
PackageListSpecfileResp: typeof api$PackageListSpecfileResp,
PackageCacheSave: typeof api$PackageCacheSave,
ChatScrollback: typeof api$ChatScrollback,
Metrics: typeof api$Metrics,
PprofRequest: typeof api$PprofRequest,
PprofAllocsProfileRequest: typeof api$PprofAllocsProfileRequest,
PprofBlockProfileRequest: typeof api$PprofBlockProfileRequest,
PprofCpuProfileRequest: typeof api$PprofCpuProfileRequest,
PprofHeapProfileRequest: typeof api$PprofHeapProfileRequest,
PprofMutexProfileRequest: typeof api$PprofMutexProfileRequest,
PprofResponse: typeof api$PprofResponse,
PTYConfig: typeof api$PTYConfig,
Repl: typeof api$Repl,
ResourceLimits: typeof api$ResourceLimits,
BootStatus: typeof npm$namespace$api$BootStatus,
FileEvent: typeof npm$namespace$api$FileEvent,
VCREntry: typeof npm$namespace$api$VCREntry,
File: typeof npm$namespace$api$File,
OpenChannel: typeof npm$namespace$api$OpenChannel,
OpenChannelRes: typeof npm$namespace$api$OpenChannelRes,
CloseChannel: typeof npm$namespace$api$CloseChannel,
CloseChannelRes: typeof npm$namespace$api$CloseChannelRes,
ContainerState: typeof npm$namespace$api$ContainerState,
ReplToken: typeof npm$namespace$api$ReplToken,
|};
declare type api$ICommand = {|
channel?: number | null,
session?: number | null,
openChan?: api$OpenChannel | api$IOpenChannel | null,
openChanRes?: api$OpenChannelRes | api$IOpenChannelRes | null,
closeChan?: api$CloseChannel | api$ICloseChannel | null,
closeChanRes?: api$CloseChannelRes | api$ICloseChannelRes | null,
containerState?: api$ContainerState | api$IContainerState | null,
portOpen?: api$PortOpen | api$IPortOpen | null,
toast?: api$Toast | api$IToast | null,
redirect?: api$Redirect | api$IRedirect | null,
incRef?: api$IncRef | api$IIncRef | null,
runMain?: api$RunMain | api$IRunMain | null,
clear?: api$Clear | api$IClear | null,
eval?: string | null,
result?: string | null,
input?: string | null,
output?: string | null,
error?: string | null,
saneTerm?: api$SaneTerm | api$ISaneTerm | null,
resizeTerm?: api$ResizeTerm | api$IResizeTerm | null,
state?: $Values<typeof api$State> | null,
ok?: api$OK | api$IOK | null,
persist?: api$File | api$IFile | null,
persistMirror?: api$File | api$IFile | null,
write?: api$File | api$IFile | null,
remove?: api$File | api$IFile | null,
move?: api$Move | api$IMove | null,
tryRemove?: api$File | api$IFile | null,
mkdir?: api$File | api$IFile | null,
stat?: api$File | api$IFile | null,
statRes?: api$StatResult | api$IStatResult | null,
read?: api$File | api$IFile | null,
readdir?: api$File | api$IFile | null,
files?: api$Files | api$IFiles | null,
file?: api$File | api$IFile | null,
checkChanges?: api$CheckChanges | api$ICheckChanges | null,
changedFiles?: api$Files | api$IFiles | null,
lintResults?: api$LintResults | api$ILintResults | null,
runContainedTest?: api$ContainedTest | api$IContainedTest | null,
testResult?: api$TestResult | api$ITestResult | null,
debuggerStart?: string | null,
debuggerStep?: api$RunMain | api$IRunMain | null,
debuggerStatus?: api$DebugStatus | api$IDebugStatus | null,
ensurePackages?: api$EnsurePackages | api$IEnsurePackages | null,
ping?: api$Ping | api$IPing | null,
pong?: api$Pong | api$IPong | null,
hello?: api$Hello | api$IHello | null,
goodbye?: api$Goodbye | api$IGoodbye | null,
hint?: api$Hint | api$IHint | null,
connect?: api$Connect | api$IConnect | null,
send?: api$Send | api$ISend | null,
recv?: api$Recv | api$IRecv | null,
disconnect?: api$Disconnect | api$IDisconnect | null,
fileAuthReq?: api$FileAuthReq | api$IFileAuthReq | null,
fileAuthRes?: api$FileAuthRes | api$IFileAuthRes | null,
mutliFileAuthRes?: api$MultiFileAuthRes | api$IMultiFileAuthRes | null,
listObjects?: api$ListObjects | api$IListObjects | null,
listObjectsResp?: api$ListObjectsResp | api$IListObjectsResp | null,
ot?: api$OTPacket | api$IOTPacket | null,
otstatus?: api$OTStatus | api$IOTStatus | null,
otLinkFile?: api$OTLinkFile | api$IOTLinkFile | null,
otNewCursor?: api$OTCursor | api$IOTCursor | null,
otDeleteCursor?: api$OTCursor | api$IOTCursor | null,
otFetchRequest?: api$OTFetchRequest | api$IOTFetchRequest | null,
otFetchResponse?: api$OTFetchResponse | api$IOTFetchResponse | null,
flush?: api$Flush | api$IFlush | null,
debug?: api$Debug | api$IDebug | null,
startVCR?: api$StartVCR | api$IStartVCR | null,
readVCR?: api$ReadVCR | api$IReadVCR | null,
VCRLog?: api$VCRLog | api$IVCRLog | null,
auth?: api$Auth | api$IAuth | null,
execInfo?: api$ExecInfo | api$IExecInfo | null,
subscribeFile?: api$SubscribeFile | api$ISubscribeFile | null,
fileEvent?: api$FileEvent | api$IFileEvent | null,
roster?: api$Roster | api$IRoster | null,
join?: api$User | api$IUser | null,
part?: api$User | api$IUser | null,
exec?: api$Exec | api$IExec | null,
packageSearch?: api$PackageSearch | api$IPackageSearch | null,
packageSearchResp?: api$PackageSearchResp | api$IPackageSearchResp | null,
packageInfo?: api$PackageInfo | api$IPackageInfo | null,
packageInfoResp?: api$PackageInfoResp | api$IPackageInfoResp | null,
packageAdd?: api$PackageAdd | api$IPackageAdd | null,
packageRemove?: api$PackageRemove | api$IPackageRemove | null,
packageInstall?: api$PackageInstall | api$IPackageInstall | null,
packageListSpecfile?:
| api$PackageListSpecfile
| api$IPackageListSpecfile
| null,
packageListSpecfileResp?:
| api$PackageListSpecfileResp
| api$IPackageListSpecfileResp
| null,
packageCacheSave?: api$PackageCacheSave | api$IPackageCacheSave | null,
chatMessage?: api$ChatMessage | api$IChatMessage | null,
chatTyping?: api$ChatTyping | api$IChatTyping | null,
chatScrollback?: api$ChatScrollback | api$IChatScrollback | null,
fsSnapshot?: api$FSSnapshot | api$IFSSnapshot | null,
fsTakeLock?: api$FSLock | api$IFSLock | null,
fsReleaseLock?: api$FSLock | api$IFSLock | null,
hasCap?: boolean | null,
pid1Config?: api$Pid1Config | api$IPid1Config | null,
metrics?: api$Metrics | api$IMetrics | null,
bootStatus?: api$BootStatus | api$IBootStatus | null,
readMeta?: api$ReadMeta | api$IReadMeta | null,
writeMeta?: api$WriteMeta | api$IWriteMeta | null,
appendMeta?: api$AppendMeta | api$IAppendMeta | null,
audio?: api$Audio | api$IAudio | null,
pprofRequest?: api$PprofRequest | api$IPprofRequest | null,
pprofResponse?: api$PprofResponse | api$IPprofResponse | null,
audio2?: api$Audio2 | api$IAudio2 | null,
PTYConfig?: api$PTYConfig | api$IPTYConfig | null,
ref?: string | null,
|};
declare class api$Command {
constructor(properties?: api$ICommand): this;
channel: number;
session: number;
openChan?: api$OpenChannel | null;
openChanRes?: api$OpenChannelRes | null;
closeChan?: api$CloseChannel | null;
closeChanRes?: api$CloseChannelRes | null;
containerState?: api$ContainerState | null;
portOpen?: api$PortOpen | null;
toast?: api$Toast | null;
redirect?: api$Redirect | null;
incRef?: api$IncRef | null;
runMain?: api$RunMain | null;
clear?: api$Clear | null;
eval: string;
result: string;
input: string;
output: string;
error: string;
saneTerm?: api$SaneTerm | null;
resizeTerm?: api$ResizeTerm | null;
state: $Values<typeof api$State>;
ok?: api$OK | null;
persist?: api$File | null;
persistMirror?: api$File | null;
write?: api$File | null;
remove?: api$File | null;
move?: api$Move | null;
tryRemove?: api$File | null;
mkdir?: api$File | null;
stat?: api$File | null;
statRes?: api$StatResult | null;
read?: api$File | null;
readdir?: api$File | null;
files?: api$Files | null;
file?: api$File | null;
checkChanges?: api$CheckChanges | null;
changedFiles?: api$Files | null;
lintResults?: api$LintResults | null;
runContainedTest?: api$ContainedTest | null;
testResult?: api$TestResult | null;
debuggerStart: string;
debuggerStep?: api$RunMain | null;
debuggerStatus?: api$DebugStatus | null;
ensurePackages?: api$EnsurePackages | null;
ping?: api$Ping | null;
pong?: api$Pong | null;
hello?: api$Hello | null;
goodbye?: api$Goodbye | null;
hint?: api$Hint | null;
connect?: api$Connect | null;
send?: api$Send | null;
recv?: api$Recv | null;
disconnect?: api$Disconnect | null;
fileAuthReq?: api$FileAuthReq | null;
fileAuthRes?: api$FileAuthRes | null;
mutliFileAuthRes?: api$MultiFileAuthRes | null;
listObjects?: api$ListObjects | null;
listObjectsResp?: api$ListObjectsResp | null;
ot?: api$OTPacket | null;
otstatus?: api$OTStatus | null;
otLinkFile?: api$OTLinkFile | null;
otNewCursor?: api$OTCursor | null;
otDeleteCursor?: api$OTCursor | null;
otFetchRequest?: api$OTFetchRequest | null;
otFetchResponse?: api$OTFetchResponse | null;
flush?: api$Flush | null;
debug?: api$Debug | null;
startVCR?: api$StartVCR | null;
readVCR?: api$ReadVCR | null;
VCRLog?: api$VCRLog | null;
auth?: api$Auth | null;
execInfo?: api$ExecInfo | null;
subscribeFile?: api$SubscribeFile | null;
fileEvent?: api$FileEvent | null;
roster?: api$Roster | null;
join?: api$User | null;
part?: api$User | null;
exec?: api$Exec | null;
packageSearch?: api$PackageSearch | null;
packageSearchResp?: api$PackageSearchResp | null;
packageInfo?: api$PackageInfo | null;
packageInfoResp?: api$PackageInfoResp | null;
packageAdd?: api$PackageAdd | null;
packageRemove?: api$PackageRemove | null;
packageInstall?: api$PackageInstall | null;
packageListSpecfile?: api$PackageListSpecfile | null;
packageListSpecfileResp?: api$PackageListSpecfileResp | null;
packageCacheSave?: api$PackageCacheSave | null;
chatMessage?: api$ChatMessage | null;
chatTyping?: api$ChatTyping | null;
chatScrollback?: api$ChatScrollback | null;
fsSnapshot?: api$FSSnapshot | null;
fsTakeLock?: api$FSLock | null;
fsReleaseLock?: api$FSLock | null;
hasCap: boolean;
pid1Config?: api$Pid1Config | null;
metrics?: api$Metrics | null;
bootStatus?: api$BootStatus | null;
readMeta?: api$ReadMeta | null;
writeMeta?: api$WriteMeta | null;
appendMeta?: api$AppendMeta | null;
audio?: api$Audio | null;
pprofRequest?: api$PprofRequest | null;
pprofResponse?: api$PprofResponse | null;
audio2?: api$Audio2 | null;
PTYConfig?: api$PTYConfig | null;
ref: string;
body?:
| "openChan"
| "openChanRes"
| "closeChan"
| "closeChanRes"
| "containerState"
| "portOpen"
| "toast"
| "redirect"
| "incRef"
| "runMain"
| "clear"
| "eval"
| "result"
| "input"
| "output"
| "error"
| "saneTerm"
| "resizeTerm"
| "state"
| "ok"
| "persist"
| "persistMirror"
| "write"
| "remove"
| "move"
| "tryRemove"
| "mkdir"
| "stat"
| "statRes"
| "read"
| "readdir"
| "files"
| "file"
| "checkChanges"
| "changedFiles"
| "lintResults"
| "runContainedTest"
| "testResult"
| "debuggerStart"
| "debuggerStep"
| "debuggerStatus"
| "ensurePackages"
| "ping"
| "pong"
| "hello"
| "goodbye"
| "hint"
| "connect"
| "send"
| "recv"
| "disconnect"
| "fileAuthReq"
| "fileAuthRes"
| "mutliFileAuthRes"
| "listObjects"
| "listObjectsResp"
| "ot"
| "otstatus"
| "otLinkFile"
| "otNewCursor"
| "otDeleteCursor"
| "otFetchRequest"
| "otFetchResponse"
| "flush"
| "debug"
| "startVCR"
| "readVCR"
| "VCRLog"
| "auth"
| "execInfo"
| "subscribeFile"
| "fileEvent"
| "roster"
| "join"
| "part"
| "exec"
| "packageSearch"
| "packageSearchResp"
| "packageInfo"
| "packageInfoResp"
| "packageAdd"
| "packageRemove"
| "packageInstall"
| "packageListSpecfile"
| "packageListSpecfileResp"
| "packageCacheSave"
| "chatMessage"
| "chatTyping"
| "chatScrollback"
| "fsSnapshot"
| "fsTakeLock"
| "fsReleaseLock"
| "hasCap"
| "pid1Config"
| "metrics"
| "bootStatus"
| "readMeta"
| "writeMeta"
| "appendMeta"
| "audio"
| "pprofRequest"
| "pprofResponse"
| "audio2"
| "PTYConfig";
static create(properties?: api$ICommand): api$Command;
static encode(
message: api$Command,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Command,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Command;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Command;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Command;
static toObject(
message: api$Command,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IAudio = {|
data?: number[] | null,
|};
declare class api$Audio {
constructor(properties?: api$IAudio): this;
data: number[];
static create(properties?: api$IAudio): api$Audio;
static encode(
message: api$Audio,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Audio,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Audio;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Audio;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Audio;
static toObject(
message: api$Audio,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IAudio2 = {|
data?: number[] | null,
samples?: number | null,
|};
declare class api$Audio2 {
constructor(properties?: api$IAudio2): this;
data: number[];
samples: number;
static create(properties?: api$IAudio2): api$Audio2;
static encode(
message: api$Audio2,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Audio2,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Audio2;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Audio2;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Audio2;
static toObject(
message: api$Audio2,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IReadMeta = {|
key?: string | null,
exists?: boolean | null,
data?: Uint8Array | null,
|};
declare class api$ReadMeta {
constructor(properties?: api$IReadMeta): this;
key: string;
exists: boolean;
data: Uint8Array;
static create(properties?: api$IReadMeta): api$ReadMeta;
static encode(
message: api$ReadMeta,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ReadMeta,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ReadMeta;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$ReadMeta;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ReadMeta;
static toObject(
message: api$ReadMeta,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IWriteMeta = {|
key?: string | null,
data?: Uint8Array | null,
|};
declare class api$WriteMeta {
constructor(properties?: api$IWriteMeta): this;
key: string;
data: Uint8Array;
static create(properties?: api$IWriteMeta): api$WriteMeta;
static encode(
message: api$WriteMeta,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$WriteMeta,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$WriteMeta;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$WriteMeta;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$WriteMeta;
static toObject(
message: api$WriteMeta,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IAppendMeta = {|
key?: string | null,
data?: Uint8Array | null,
|};
declare class api$AppendMeta {
constructor(properties?: api$IAppendMeta): this;
key: string;
data: Uint8Array;
static create(properties?: api$IAppendMeta): api$AppendMeta;
static encode(
message: api$AppendMeta,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$AppendMeta,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$AppendMeta;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$AppendMeta;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$AppendMeta;
static toObject(
message: api$AppendMeta,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IBootStatus = {|
stage?: $Values<typeof api$BootStatus$Stage> | null,
progress?: number | null,
total?: number | null,
|};
declare class api$BootStatus {
constructor(properties?: api$IBootStatus): this;
stage: $Values<typeof api$BootStatus$Stage>;
progress: number;
total: number;
static create(properties?: api$IBootStatus): api$BootStatus;
static encode(
message: api$BootStatus,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$BootStatus,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$BootStatus;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$BootStatus;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$BootStatus;
static toObject(
message: api$BootStatus,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var npm$namespace$api$BootStatus: {|
Stage: typeof api$BootStatus$Stage,
|};
declare var api$BootStatus$Stage: {|
+HANDSHAKE: 0, +ACQUIRING: 3, +COMPLETE: 4, +PROXY: 5, +PULL_FILES: 6, +LOAD_BLOCK: 7, +RETRY: 8, |};
declare type api$IPid1Config = {|
cwd?: string | null,
language?: string | null,
env?: {
[k: string]: string,
} | null,
|};
declare class api$Pid1Config {
constructor(properties?: api$IPid1Config): this;
cwd: string;
language: string;
env: {
[k: string]: string,
};
static create(properties?: api$IPid1Config): api$Pid1Config;
static encode(
message: api$Pid1Config,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Pid1Config,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Pid1Config;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Pid1Config;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Pid1Config;
static toObject(
message: api$Pid1Config,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IFSLock = {|
name?: string | null,
|};
declare class api$FSLock {
constructor(properties?: api$IFSLock): this;
name: string;
static create(properties?: api$IFSLock): api$FSLock;
static encode(
message: api$FSLock,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$FSLock,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$FSLock;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$FSLock;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$FSLock;
static toObject(
message: api$FSLock,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IFSSnapshot = {||};
declare class api$FSSnapshot {
constructor(properties?: api$IFSSnapshot): this;
static create(properties?: api$IFSSnapshot): api$FSSnapshot;
static encode(
message: api$FSSnapshot,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$FSSnapshot,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$FSSnapshot;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$FSSnapshot;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$FSSnapshot;
static toObject(
message: api$FSSnapshot,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$ISubscribeFile = {|
files?: (api$File | api$IFile)[] | null,
|};
declare class api$SubscribeFile {
constructor(properties?: api$ISubscribeFile): this;
files: api$File[];
static create(properties?: api$ISubscribeFile): api$SubscribeFile;
static encode(
message: api$SubscribeFile,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$SubscribeFile,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$SubscribeFile;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$SubscribeFile;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$SubscribeFile;
static toObject(
message: api$SubscribeFile,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IFileEvent = {|
file?: api$File | api$IFile | null,
dest?: api$File | api$IFile | null,
op?: $Values<typeof api$FileEvent$Op> | null,
|};
declare class api$FileEvent {
constructor(properties?: api$IFileEvent): this;
file?: api$File | null;
dest?: api$File | null;
op: $Values<typeof api$FileEvent$Op>;
static create(properties?: api$IFileEvent): api$FileEvent;
static encode(
message: api$FileEvent,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$FileEvent,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$FileEvent;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$FileEvent;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$FileEvent;
static toObject(
message: api$FileEvent,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var npm$namespace$api$FileEvent: {|
Op: typeof api$FileEvent$Op,
|};
declare var api$FileEvent$Op: {|
+Create: 0, +Move: 1, +Remove: 2, +Modify: 3, |};
declare type api$IFlush = {||};
declare class api$Flush {
constructor(properties?: api$IFlush): this;
static create(properties?: api$IFlush): api$Flush;
static encode(
message: api$Flush,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Flush,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Flush;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Flush;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Flush;
static toObject(
message: api$Flush,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IOTLinkFile = {|
file?: api$File | api$IFile | null,
highConsistency?: boolean | null,
OBSOLETEUseModTime?: boolean | null,
|};
declare class api$OTLinkFile {
constructor(properties?: api$IOTLinkFile): this;
file?: api$File | null;
highConsistency: boolean;
OBSOLETEUseModTime: boolean;
static create(properties?: api$IOTLinkFile): api$OTLinkFile;
static encode(
message: api$OTLinkFile,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$OTLinkFile,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$OTLinkFile;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$OTLinkFile;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$OTLinkFile;
static toObject(
message: api$OTLinkFile,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IAuth = {|
token?: string | null,
containerID?: string | null,
|};
declare class api$Auth {
constructor(properties?: api$IAuth): this;
token: string;
containerID: string;
static create(properties?: api$IAuth): api$Auth;
static encode(message: api$Auth, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$Auth,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Auth;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Auth;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Auth;
static toObject(
message: api$Auth,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IVCREntry = {|
timestamp?: number | null,
direction?: $Values<typeof api$VCREntry$Direction> | null,
command?: api$Command | api$ICommand | null,
uid?: string | null,
|};
declare class api$VCREntry {
constructor(properties?: api$IVCREntry): this;
timestamp: number;
direction: $Values<typeof api$VCREntry$Direction>;
command?: api$Command | null;
uid: string;
static create(properties?: api$IVCREntry): api$VCREntry;
static encode(
message: api$VCREntry,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$VCREntry,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$VCREntry;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$VCREntry;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$VCREntry;
static toObject(
message: api$VCREntry,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var npm$namespace$api$VCREntry: {|
Direction: typeof api$VCREntry$Direction,
|};
declare var api$VCREntry$Direction: {|
+IN: 0, +OUT: 1, |};
declare type api$IStartVCR = {||};
declare class api$StartVCR {
constructor(properties?: api$IStartVCR): this;
static create(properties?: api$IStartVCR): api$StartVCR;
static encode(
message: api$StartVCR,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$StartVCR,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$StartVCR;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$StartVCR;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$StartVCR;
static toObject(
message: api$StartVCR,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IReadVCR = {||};
declare class api$ReadVCR {
constructor(properties?: api$IReadVCR): this;
static create(properties?: api$IReadVCR): api$ReadVCR;
static encode(
message: api$ReadVCR,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ReadVCR,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ReadVCR;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$ReadVCR;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ReadVCR;
static toObject(
message: api$ReadVCR,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IVCRLog = {|
log?: (api$VCREntry | api$IVCREntry)[] | null,
logfile?: api$File | api$IFile | null,
|};
declare class api$VCRLog {
constructor(properties?: api$IVCRLog): this;
log: api$VCREntry[];
logfile?: api$File | null;
static create(properties?: api$IVCRLog): api$VCRLog;
static encode(
message: api$VCRLog,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$VCRLog,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$VCRLog;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$VCRLog;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$VCRLog;
static toObject(
message: api$VCRLog,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IExecInfo = {|
command?: string[] | null,
reason?: string | null,
|};
declare class api$ExecInfo {
constructor(properties?: api$IExecInfo): this;
command: string[];
reason: string;
static create(properties?: api$IExecInfo): api$ExecInfo;
static encode(
message: api$ExecInfo,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ExecInfo,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ExecInfo;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$ExecInfo;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ExecInfo;
static toObject(
message: api$ExecInfo,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IDebug = {|
text?: string | null,
|};
declare class api$Debug {
constructor(properties?: api$IDebug): this;
text: string;
static create(properties?: api$IDebug): api$Debug;
static encode(
message: api$Debug,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Debug,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Debug;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Debug;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Debug;
static toObject(
message: api$Debug,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var api$FileAuthMethod: {|
+GET: 0, +HEAD: 1, +PUT: 2, +DELETE: 3, |};
declare type api$IFileAuthReq = {|
file?: api$File | api$IFile | null,
method?: $Values<typeof api$FileAuthMethod> | null,
|};
declare class api$FileAuthReq {
constructor(properties?: api$IFileAuthReq): this;
file?: api$File | null;
method: $Values<typeof api$FileAuthMethod>;
static create(properties?: api$IFileAuthReq): api$FileAuthReq;
static encode(
message: api$FileAuthReq,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$FileAuthReq,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$FileAuthReq;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$FileAuthReq;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$FileAuthReq;
static toObject(
message: api$FileAuthReq,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IMultiFileAuthRes = {|
put?: api$FileAuthRes | api$IFileAuthRes | null,
del?: api$FileAuthRes | api$IFileAuthRes | null,
get?: api$FileAuthRes | api$IFileAuthRes | null,
|};
declare class api$MultiFileAuthRes {
constructor(properties?: api$IMultiFileAuthRes): this;
put?: api$FileAuthRes | null;
del?: api$FileAuthRes | null;
get?: api$FileAuthRes | null;
static create(properties?: api$IMultiFileAuthRes): api$MultiFileAuthRes;
static encode(
message: api$MultiFileAuthRes,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$MultiFileAuthRes,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$MultiFileAuthRes;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$MultiFileAuthRes;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$MultiFileAuthRes;
static toObject(
message: api$MultiFileAuthRes,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IFileAuthRes = {|
file?: api$File | api$IFile | null,
url?: string | null,
method?: $Values<typeof api$FileAuthMethod> | null,
expire?: number | null,
error?: string | null,
|};
declare class api$FileAuthRes {
constructor(properties?: api$IFileAuthRes): this;
file?: api$File | null;
url: string;
method: $Values<typeof api$FileAuthMethod>;
expire: number;
error: string;
static create(properties?: api$IFileAuthRes): api$FileAuthRes;
static encode(
message: api$FileAuthRes,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$FileAuthRes,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$FileAuthRes;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$FileAuthRes;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$FileAuthRes;
static toObject(
message: api$FileAuthRes,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IListObjects = {|
prefix?: string | null,
|};
declare class api$ListObjects {
constructor(properties?: api$IListObjects): this;
prefix: string;
static create(properties?: api$IListObjects): api$ListObjects;
static encode(
message: api$ListObjects,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ListObjects,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ListObjects;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$ListObjects;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ListObjects;
static toObject(
message: api$ListObjects,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IListObjectsResp = {|
objects?: string[] | null,
|};
declare class api$ListObjectsResp {
constructor(properties?: api$IListObjectsResp): this;
objects: string[];
static create(properties?: api$IListObjectsResp): api$ListObjectsResp;
static encode(
message: api$ListObjectsResp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ListObjectsResp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ListObjectsResp;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$ListObjectsResp;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ListObjectsResp;
static toObject(
message: api$ListObjectsResp,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IDisconnect = {|
error?: string | null,
|};
declare class api$Disconnect {
constructor(properties?: api$IDisconnect): this;
error: string;
static create(properties?: api$IDisconnect): api$Disconnect;
static encode(
message: api$Disconnect,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Disconnect,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Disconnect;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Disconnect;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Disconnect;
static toObject(
message: api$Disconnect,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$ISend = {|
buff?: Uint8Array | null,
|};
declare class api$Send {
constructor(properties?: api$ISend): this;
buff: Uint8Array;
static create(properties?: api$ISend): api$Send;
static encode(message: api$Send, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$Send,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Send;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Send;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Send;
static toObject(
message: api$Send,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IRecv = {|
buff?: Uint8Array | null,
|};
declare class api$Recv {
constructor(properties?: api$IRecv): this;
buff: Uint8Array;
static create(properties?: api$IRecv): api$Recv;
static encode(message: api$Recv, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$Recv,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Recv;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Recv;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Recv;
static toObject(
message: api$Recv,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IConnect = {|
proto?: string | null,
addr?: string | null,
|};
declare class api$Connect {
constructor(properties?: api$IConnect): this;
proto: string;
addr: string;
static create(properties?: api$IConnect): api$Connect;
static encode(
message: api$Connect,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Connect,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Connect;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Connect;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Connect;
static toObject(
message: api$Connect,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IHint = {|
text?: string | null,
|};
declare class api$Hint {
constructor(properties?: api$IHint): this;
text: string;
static create(properties?: api$IHint): api$Hint;
static encode(message: api$Hint, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$Hint,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Hint;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Hint;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Hint;
static toObject(
message: api$Hint,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPing = {||};
declare class api$Ping {
constructor(properties?: api$IPing): this;
static create(properties?: api$IPing): api$Ping;
static encode(message: api$Ping, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$Ping,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Ping;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Ping;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Ping;
static toObject(
message: api$Ping,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPong = {||};
declare class api$Pong {
constructor(properties?: api$IPong): this;
static create(properties?: api$IPong): api$Pong;
static encode(message: api$Pong, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$Pong,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Pong;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Pong;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Pong;
static toObject(
message: api$Pong,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IHello = {|
userid?: number | null,
username?: string | null,
token?: string | null,
|};
declare class api$Hello {
constructor(properties?: api$IHello): this;
userid: number;
username: string;
token: string;
static create(properties?: api$IHello): api$Hello;
static encode(
message: api$Hello,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Hello,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Hello;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Hello;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Hello;
static toObject(
message: api$Hello,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IGoodbye = {||};
declare class api$Goodbye {
constructor(properties?: api$IGoodbye): this;
static create(properties?: api$IGoodbye): api$Goodbye;
static encode(
message: api$Goodbye,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Goodbye,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Goodbye;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Goodbye;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Goodbye;
static toObject(
message: api$Goodbye,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var api$State: {|
+Stopped: 0, +Running: 1, |};
declare type api$ICheckChanges = {||};
declare class api$CheckChanges {
constructor(properties?: api$ICheckChanges): this;
static create(properties?: api$ICheckChanges): api$CheckChanges;
static encode(
message: api$CheckChanges,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$CheckChanges,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$CheckChanges;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$CheckChanges;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$CheckChanges;
static toObject(
message: api$CheckChanges,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IEnsurePackages = {|
install?: boolean | null,
file?: api$File | api$IFile | null,
|};
declare class api$EnsurePackages {
constructor(properties?: api$IEnsurePackages): this;
install: boolean;
file?: api$File | null;
static create(properties?: api$IEnsurePackages): api$EnsurePackages;
static encode(
message: api$EnsurePackages,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$EnsurePackages,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$EnsurePackages;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$EnsurePackages;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$EnsurePackages;
static toObject(
message: api$EnsurePackages,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IStart = {||};
declare class api$Start {
constructor(properties?: api$IStart): this;
static create(properties?: api$IStart): api$Start;
static encode(
message: api$Start,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Start,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Start;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Start;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Start;
static toObject(
message: api$Start,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IDebugStatus = {|
done?: boolean | null,
stack?: (api$StackFrame | api$IStackFrame)[] | null,
|};
declare class api$DebugStatus {
constructor(properties?: api$IDebugStatus): this;
done: boolean;
stack: api$StackFrame[];
static create(properties?: api$IDebugStatus): api$DebugStatus;
static encode(
message: api$DebugStatus,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$DebugStatus,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$DebugStatus;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$DebugStatus;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$DebugStatus;
static toObject(
message: api$DebugStatus,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IStackFrame = {|
function?: string | null,
line?: number | null,
|};
declare class api$StackFrame {
constructor(properties?: api$IStackFrame): this;
function: string;
line: number;
static create(properties?: api$IStackFrame): api$StackFrame;
static encode(
message: api$StackFrame,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$StackFrame,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$StackFrame;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$StackFrame;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$StackFrame;
static toObject(
message: api$StackFrame,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IContainedTest = {|
suite?: api$File | api$IFile | null,
project?: (api$File | api$IFile)[] | null,
|};
declare class api$ContainedTest {
constructor(properties?: api$IContainedTest): this;
suite?: api$File | null;
project: api$File[];
static create(properties?: api$IContainedTest): api$ContainedTest;
static encode(
message: api$ContainedTest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ContainedTest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ContainedTest;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$ContainedTest;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ContainedTest;
static toObject(
message: api$ContainedTest,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$ITestResult = {|
passed?: boolean | null,
stderr?: string | null,
fails?: (api$TestFailure | api$ITestFailure)[] | null,
|};
declare class api$TestResult {
constructor(properties?: api$ITestResult): this;
passed: boolean;
stderr: string;
fails: api$TestFailure[];
static create(properties?: api$ITestResult): api$TestResult;
static encode(
message: api$TestResult,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$TestResult,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$TestResult;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$TestResult;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$TestResult;
static toObject(
message: api$TestResult,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$ITestFailure = {|
name?: string | null,
trace?: string | null,
|};
declare class api$TestFailure {
constructor(properties?: api$ITestFailure): this;
name: string;
trace: string;
static create(properties?: api$ITestFailure): api$TestFailure;
static encode(
message: api$TestFailure,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$TestFailure,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$TestFailure;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$TestFailure;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$TestFailure;
static toObject(
message: api$TestFailure,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IResizeTerm = {|
rows?: number | null,
cols?: number | null,
|};
declare class api$ResizeTerm {
constructor(properties?: api$IResizeTerm): this;
rows: number;
cols: number;
static create(properties?: api$IResizeTerm): api$ResizeTerm;
static encode(
message: api$ResizeTerm,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ResizeTerm,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ResizeTerm;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$ResizeTerm;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ResizeTerm;
static toObject(
message: api$ResizeTerm,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$ISaneTerm = {||};
declare class api$SaneTerm {
constructor(properties?: api$ISaneTerm): this;
static create(properties?: api$ISaneTerm): api$SaneTerm;
static encode(
message: api$SaneTerm,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$SaneTerm,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$SaneTerm;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$SaneTerm;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$SaneTerm;
static toObject(
message: api$SaneTerm,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$ILintResults = {|
results?: (api$LintResult | api$ILintResult)[] | null,
|};
declare class api$LintResults {
constructor(properties?: api$ILintResults): this;
results: api$LintResult[];
static create(properties?: api$ILintResults): api$LintResults;
static encode(
message: api$LintResults,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$LintResults,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$LintResults;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$LintResults;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$LintResults;
static toObject(
message: api$LintResults,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$ILintResult = {|
text?: string | null,
row?: number | null,
column?: number | null,
type?: string | null,
|};
declare class api$LintResult {
constructor(properties?: api$ILintResult): this;
text: string;
row: number;
column: number;
type: string;
static create(properties?: api$ILintResult): api$LintResult;
static encode(
message: api$LintResult,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$LintResult,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$LintResult;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$LintResult;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$LintResult;
static toObject(
message: api$LintResult,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IOK = {||};
declare class api$OK {
constructor(properties?: api$IOK): this;
static create(properties?: api$IOK): api$OK;
static encode(message: api$OK, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$OK,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(reader: $protobuf.Reader | Uint8Array, length?: number): api$OK;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$OK;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$OK;
static toObject(
message: api$OK,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IMove = {|
oldPath?: string | null,
newPath?: string | null,
|};
declare class api$Move {
constructor(properties?: api$IMove): this;
oldPath: string;
newPath: string;
static create(properties?: api$IMove): api$Move;
static encode(message: api$Move, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$Move,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Move;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Move;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Move;
static toObject(
message: api$Move,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IFiles = {|
files?: (api$File | api$IFile)[] | null,
|};
declare class api$Files {
constructor(properties?: api$IFiles): this;
files: api$File[];
static create(properties?: api$IFiles): api$Files;
static encode(
message: api$Files,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Files,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Files;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Files;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Files;
static toObject(
message: api$Files,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IStatResult = {|
exists?: boolean | null,
type?: $Values<typeof api$File$Type> | null,
size?: number | null,
fileMode?: string | null,
modTime?: number | null,
|};
declare class api$StatResult {
constructor(properties?: api$IStatResult): this;
exists: boolean;
type: $Values<typeof api$File$Type>;
size: number;
fileMode: string;
modTime: number;
static create(properties?: api$IStatResult): api$StatResult;
static encode(
message: api$StatResult,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$StatResult,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$StatResult;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$StatResult;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$StatResult;
static toObject(
message: api$StatResult,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IFile = {|
path?: string | null,
type?: $Values<typeof api$File$Type> | null,
content?: Uint8Array | null,
|};
declare class api$File {
constructor(properties?: api$IFile): this;
path: string;
type: $Values<typeof api$File$Type>;
content: Uint8Array;
static create(properties?: api$IFile): api$File;
static encode(message: api$File, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$File,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$File;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$File;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$File;
static toObject(
message: api$File,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var npm$namespace$api$File: {|
Type: typeof api$File$Type,
|};
declare var api$File$Type: {|
+REGULAR: 0, +DIRECTORY: 1, |};
declare type api$IClear = {||};
declare class api$Clear {
constructor(properties?: api$IClear): this;
static create(properties?: api$IClear): api$Clear;
static encode(
message: api$Clear,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Clear,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Clear;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Clear;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Clear;
static toObject(
message: api$Clear,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IToast = {|
text?: string | null,
|};
declare class api$Toast {
constructor(properties?: api$IToast): this;
text: string;
static create(properties?: api$IToast): api$Toast;
static encode(
message: api$Toast,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Toast,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Toast;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Toast;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Toast;
static toObject(
message: api$Toast,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IRedirect = {|
url?: string | null,
|};
declare class api$Redirect {
constructor(properties?: api$IRedirect): this;
url: string;
static create(properties?: api$IRedirect): api$Redirect;
static encode(
message: api$Redirect,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Redirect,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Redirect;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Redirect;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Redirect;
static toObject(
message: api$Redirect,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IIncRef = {||};
declare class api$IncRef {
constructor(properties?: api$IIncRef): this;
static create(properties?: api$IIncRef): api$IncRef;
static encode(
message: api$IncRef,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$IncRef,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$IncRef;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$IncRef;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$IncRef;
static toObject(
message: api$IncRef,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IRunMain = {||};
declare class api$RunMain {
constructor(properties?: api$IRunMain): this;
static create(properties?: api$IRunMain): api$RunMain;
static encode(
message: api$RunMain,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$RunMain,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$RunMain;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$RunMain;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$RunMain;
static toObject(
message: api$RunMain,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IOpenChannel = {|
service?: string | null,
name?: string | null,
action?: $Values<typeof api$OpenChannel$Action> | null,
id?: number | null,
|};
declare class api$OpenChannel {
constructor(properties?: api$IOpenChannel): this;
service: string;
name: string;
action: $Values<typeof api$OpenChannel$Action>;
id: number;
static create(properties?: api$IOpenChannel): api$OpenChannel;
static encode(
message: api$OpenChannel,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$OpenChannel,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$OpenChannel;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$OpenChannel;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$OpenChannel;
static toObject(
message: api$OpenChannel,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var npm$namespace$api$OpenChannel: {|
Action: typeof api$OpenChannel$Action,
|};
declare var api$OpenChannel$Action: {|
+CREATE: 0, +ATTACH: 1, +ATTACH_OR_CREATE: 2, |};
declare type api$IOpenChannelRes = {|
id?: number | null,
state?: $Values<typeof api$OpenChannelRes$State> | null,
error?: string | null,
|};
declare class api$OpenChannelRes {
constructor(properties?: api$IOpenChannelRes): this;
id: number;
state: $Values<typeof api$OpenChannelRes$State>;
error: string;
static create(properties?: api$IOpenChannelRes): api$OpenChannelRes;
static encode(
message: api$OpenChannelRes,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$OpenChannelRes,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$OpenChannelRes;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$OpenChannelRes;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$OpenChannelRes;
static toObject(
message: api$OpenChannelRes,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var npm$namespace$api$OpenChannelRes: {|
State: typeof api$OpenChannelRes$State,
|};
declare var api$OpenChannelRes$State: {|
+CREATED: 0, +ATTACHED: 1, +ERROR: 2, |};
declare type api$ICloseChannel = {|
id?: number | null,
action?: $Values<typeof api$CloseChannel$Action> | null,
|};
declare class api$CloseChannel {
constructor(properties?: api$ICloseChannel): this;
id: number;
action: $Values<typeof api$CloseChannel$Action>;
static create(properties?: api$ICloseChannel): api$CloseChannel;
static encode(
message: api$CloseChannel,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$CloseChannel,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$CloseChannel;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$CloseChannel;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$CloseChannel;
static toObject(
message: api$CloseChannel,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var npm$namespace$api$CloseChannel: {|
Action: typeof api$CloseChannel$Action,
|};
declare var api$CloseChannel$Action: {|
+DISCONNECT: 0, +TRY_CLOSE: 1, +CLOSE: 2, |};
declare type api$ICloseChannelRes = {|
id?: number | null,
status?: $Values<typeof api$CloseChannelRes$Status> | null,
|};
declare class api$CloseChannelRes {
constructor(properties?: api$ICloseChannelRes): this;
id: number;
status: $Values<typeof api$CloseChannelRes$Status>;
static create(properties?: api$ICloseChannelRes): api$CloseChannelRes;
static encode(
message: api$CloseChannelRes,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$CloseChannelRes,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$CloseChannelRes;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$CloseChannelRes;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$CloseChannelRes;
static toObject(
message: api$CloseChannelRes,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var npm$namespace$api$CloseChannelRes: {|
Status: typeof api$CloseChannelRes$Status,
|};
declare var api$CloseChannelRes$Status: {|
+DISCONNECT: 0, +CLOSE: 1, +NOTHING: 2, |};
declare type api$IContainerState = {|
state?: $Values<typeof api$ContainerState$State> | null,
|};
declare class api$ContainerState {
constructor(properties?: api$IContainerState): this;
state: $Values<typeof api$ContainerState$State>;
static create(properties?: api$IContainerState): api$ContainerState;
static encode(
message: api$ContainerState,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ContainerState,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ContainerState;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$ContainerState;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ContainerState;
static toObject(
message: api$ContainerState,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var npm$namespace$api$ContainerState: {|
State: typeof api$ContainerState$State,
|};
declare var api$ContainerState$State: {|
+SLEEP: 0, +READY: 1, |};
declare type api$IPortOpen = {|
forwarded?: boolean | null,
port?: number | null,
address?: string | null,
|};
declare class api$PortOpen {
constructor(properties?: api$IPortOpen): this;
forwarded: boolean;
port: number;
address: string;
static create(properties?: api$IPortOpen): api$PortOpen;
static encode(
message: api$PortOpen,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PortOpen,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PortOpen;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$PortOpen;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PortOpen;
static toObject(
message: api$PortOpen,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IOTFetchRequest = {|
versionFrom?: number | null,
versionTo?: number | null,
|};
declare class api$OTFetchRequest {
constructor(properties?: api$IOTFetchRequest): this;
versionFrom: number;
versionTo: number;
static create(properties?: api$IOTFetchRequest): api$OTFetchRequest;
static encode(
message: api$OTFetchRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$OTFetchRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$OTFetchRequest;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$OTFetchRequest;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$OTFetchRequest;
static toObject(
message: api$OTFetchRequest,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IOTFetchResponse = {|
packets?: (api$OTPacket | api$IOTPacket)[] | null,
|};
declare class api$OTFetchResponse {
constructor(properties?: api$IOTFetchResponse): this;
packets: api$OTPacket[];
static create(properties?: api$IOTFetchResponse): api$OTFetchResponse;
static encode(
message: api$OTFetchResponse,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$OTFetchResponse,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$OTFetchResponse;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$OTFetchResponse;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$OTFetchResponse;
static toObject(
message: api$OTFetchResponse,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IOTPacket = {|
spookyVersion?: number | null,
version?: number | null,
ops?: (api$OTRuneTransformOp | api$IOTRuneTransformOp)[] | null,
crc32?: number | null,
committed?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
nonce?: number | null,
|};
declare class api$OTPacket {
constructor(properties?: api$IOTPacket): this;
spookyVersion: number;
version: number;
ops: api$OTRuneTransformOp[];
crc32: number;
committed?: google$protobuf$Timestamp | null;
nonce: number;
static create(properties?: api$IOTPacket): api$OTPacket;
static encode(
message: api$OTPacket,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$OTPacket,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$OTPacket;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$OTPacket;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$OTPacket;
static toObject(
message: api$OTPacket,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IOTRuneTransformOp = {|
skip?: number | null,
delete?: number | null,
insert?: string | null,
|};
declare class api$OTRuneTransformOp {
constructor(properties?: api$IOTRuneTransformOp): this;
skip: number;
delete: number;
insert: string;
op?: "skip" | "delete" | "insert";
static create(properties?: api$IOTRuneTransformOp): api$OTRuneTransformOp;
static encode(
message: api$OTRuneTransformOp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$OTRuneTransformOp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$OTRuneTransformOp;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$OTRuneTransformOp;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$OTRuneTransformOp;
static toObject(
message: api$OTRuneTransformOp,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IOTStatus = {|
contents?: string | null,
version?: number | null,
linkedFile?: api$File | api$IFile | null,
cursors?: (api$OTCursor | api$IOTCursor)[] | null,
|};
declare class api$OTStatus {
constructor(properties?: api$IOTStatus): this;
contents: string;
version: number;
linkedFile?: api$File | null;
cursors: api$OTCursor[];
static create(properties?: api$IOTStatus): api$OTStatus;
static encode(
message: api$OTStatus,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$OTStatus,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$OTStatus;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$OTStatus;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$OTStatus;
static toObject(
message: api$OTStatus,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IOTCursor = {|
position?: number | null,
selectionStart?: number | null,
selectionEnd?: number | null,
user?: api$User | api$IUser | null,
id?: string | null,
|};
declare class api$OTCursor {
constructor(properties?: api$IOTCursor): this;
position: number;
selectionStart: number;
selectionEnd: number;
user?: api$User | null;
id: string;
static create(properties?: api$IOTCursor): api$OTCursor;
static encode(
message: api$OTCursor,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$OTCursor,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$OTCursor;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$OTCursor;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$OTCursor;
static toObject(
message: api$OTCursor,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IChatMessage = {|
username?: string | null,
text?: string | null,
|};
declare class api$ChatMessage {
constructor(properties?: api$IChatMessage): this;
username: string;
text: string;
static create(properties?: api$IChatMessage): api$ChatMessage;
static encode(
message: api$ChatMessage,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ChatMessage,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ChatMessage;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$ChatMessage;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ChatMessage;
static toObject(
message: api$ChatMessage,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IChatTyping = {|
username?: string | null,
typing?: boolean | null,
|};
declare class api$ChatTyping {
constructor(properties?: api$IChatTyping): this;
username: string;
typing: boolean;
static create(properties?: api$IChatTyping): api$ChatTyping;
static encode(
message: api$ChatTyping,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ChatTyping,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ChatTyping;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$ChatTyping;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ChatTyping;
static toObject(
message: api$ChatTyping,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IUser = {|
id?: number | null,
name?: string | null,
roles?: string[] | null,
session?: number | null,
|};
declare class api$User {
constructor(properties?: api$IUser): this;
id: number;
name: string;
roles: string[];
session: number;
static create(properties?: api$IUser): api$User;
static encode(message: api$User, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$User,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$User;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$User;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$User;
static toObject(
message: api$User,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IRoster = {|
user?: (api$User | api$IUser)[] | null,
|};
declare class api$Roster {
constructor(properties?: api$IRoster): this;
user: api$User[];
static create(properties?: api$IRoster): api$Roster;
static encode(
message: api$Roster,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Roster,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Roster;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Roster;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Roster;
static toObject(
message: api$Roster,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IExec = {|
args?: string[] | null,
env?: {
[k: string]: string,
} | null,
blocking?: boolean | null,
|};
declare class api$Exec {
constructor(properties?: api$IExec): this;
args: string[];
env: {
[k: string]: string,
};
blocking: boolean;
static create(properties?: api$IExec): api$Exec;
static encode(message: api$Exec, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$Exec,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Exec;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Exec;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Exec;
static toObject(
message: api$Exec,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackage = {|
name?: string | null,
spec?: string | null,
description?: string | null,
version?: string | null,
homepageURL?: string | null,
documentationURL?: string | null,
sourceCodeURL?: string | null,
bugTrackerURL?: string | null,
author?: string | null,
license?: string | null,
dependencies?: (api$Package | api$IPackage)[] | null,
|};
declare class api$Package {
constructor(properties?: api$IPackage): this;
name: string;
spec: string;
description: string;
version: string;
homepageURL: string;
documentationURL: string;
sourceCodeURL: string;
bugTrackerURL: string;
author: string;
license: string;
dependencies: api$Package[];
static create(properties?: api$IPackage): api$Package;
static encode(
message: api$Package,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Package,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Package;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Package;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Package;
static toObject(
message: api$Package,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackageSearch = {|
query?: string | null,
|};
declare class api$PackageSearch {
constructor(properties?: api$IPackageSearch): this;
query: string;
static create(properties?: api$IPackageSearch): api$PackageSearch;
static encode(
message: api$PackageSearch,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PackageSearch,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PackageSearch;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PackageSearch;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PackageSearch;
static toObject(
message: api$PackageSearch,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackageSearchResp = {|
results?: (api$Package | api$IPackage)[] | null,
|};
declare class api$PackageSearchResp {
constructor(properties?: api$IPackageSearchResp): this;
results: api$Package[];
static create(properties?: api$IPackageSearchResp): api$PackageSearchResp;
static encode(
message: api$PackageSearchResp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PackageSearchResp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PackageSearchResp;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PackageSearchResp;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PackageSearchResp;
static toObject(
message: api$PackageSearchResp,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackageInfo = {|
pkg?: api$Package | api$IPackage | null,
|};
declare class api$PackageInfo {
constructor(properties?: api$IPackageInfo): this;
pkg?: api$Package | null;
static create(properties?: api$IPackageInfo): api$PackageInfo;
static encode(
message: api$PackageInfo,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PackageInfo,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PackageInfo;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PackageInfo;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PackageInfo;
static toObject(
message: api$PackageInfo,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackageInfoResp = {|
pkg?: api$Package | api$IPackage | null,
|};
declare class api$PackageInfoResp {
constructor(properties?: api$IPackageInfoResp): this;
pkg?: api$Package | null;
static create(properties?: api$IPackageInfoResp): api$PackageInfoResp;
static encode(
message: api$PackageInfoResp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PackageInfoResp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PackageInfoResp;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PackageInfoResp;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PackageInfoResp;
static toObject(
message: api$PackageInfoResp,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackageAdd = {|
pkgs?: (api$Package | api$IPackage)[] | null,
|};
declare class api$PackageAdd {
constructor(properties?: api$IPackageAdd): this;
pkgs: api$Package[];
static create(properties?: api$IPackageAdd): api$PackageAdd;
static encode(
message: api$PackageAdd,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PackageAdd,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PackageAdd;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$PackageAdd;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PackageAdd;
static toObject(
message: api$PackageAdd,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackageRemove = {|
pkgs?: (api$Package | api$IPackage)[] | null,
|};
declare class api$PackageRemove {
constructor(properties?: api$IPackageRemove): this;
pkgs: api$Package[];
static create(properties?: api$IPackageRemove): api$PackageRemove;
static encode(
message: api$PackageRemove,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PackageRemove,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PackageRemove;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PackageRemove;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PackageRemove;
static toObject(
message: api$PackageRemove,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackageInstall = {||};
declare class api$PackageInstall {
constructor(properties?: api$IPackageInstall): this;
static create(properties?: api$IPackageInstall): api$PackageInstall;
static encode(
message: api$PackageInstall,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PackageInstall,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PackageInstall;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PackageInstall;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PackageInstall;
static toObject(
message: api$PackageInstall,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackageListSpecfile = {||};
declare class api$PackageListSpecfile {
constructor(properties?: api$IPackageListSpecfile): this;
static create(properties?: api$IPackageListSpecfile): api$PackageListSpecfile;
static encode(
message: api$PackageListSpecfile,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PackageListSpecfile,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PackageListSpecfile;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PackageListSpecfile;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PackageListSpecfile;
static toObject(
message: api$PackageListSpecfile,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackageListSpecfileResp = {|
pkgs?: (api$Package | api$IPackage)[] | null,
|};
declare class api$PackageListSpecfileResp {
constructor(properties?: api$IPackageListSpecfileResp): this;
pkgs: api$Package[];
static create(
properties?: api$IPackageListSpecfileResp
): api$PackageListSpecfileResp;
static encode(
message: api$PackageListSpecfileResp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PackageListSpecfileResp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PackageListSpecfileResp;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PackageListSpecfileResp;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PackageListSpecfileResp;
static toObject(
message: api$PackageListSpecfileResp,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPackageCacheSave = {||};
declare class api$PackageCacheSave {
constructor(properties?: api$IPackageCacheSave): this;
static create(properties?: api$IPackageCacheSave): api$PackageCacheSave;
static encode(
message: api$PackageCacheSave,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PackageCacheSave,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PackageCacheSave;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PackageCacheSave;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PackageCacheSave;
static toObject(
message: api$PackageCacheSave,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IChatScrollback = {|
scrollback?: (api$ChatMessage | api$IChatMessage)[] | null,
|};
declare class api$ChatScrollback {
constructor(properties?: api$IChatScrollback): this;
scrollback: api$ChatMessage[];
static create(properties?: api$IChatScrollback): api$ChatScrollback;
static encode(
message: api$ChatScrollback,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ChatScrollback,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ChatScrollback;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$ChatScrollback;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ChatScrollback;
static toObject(
message: api$ChatScrollback,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IMetrics = {|
prometheusMetricFamilies?: Uint8Array[] | null,
|};
declare class api$Metrics {
constructor(properties?: api$IMetrics): this;
prometheusMetricFamilies: Uint8Array[];
static create(properties?: api$IMetrics): api$Metrics;
static encode(
message: api$Metrics,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$Metrics,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Metrics;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Metrics;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Metrics;
static toObject(
message: api$Metrics,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPprofRequest = {|
id?: string | null,
pprofCpuProfileRequest?:
| api$PprofCpuProfileRequest
| api$IPprofCpuProfileRequest
| null,
pprofHeapProfileRequest?:
| api$PprofHeapProfileRequest
| api$IPprofHeapProfileRequest
| null,
pprofAllocsProfileRequest?:
| api$PprofAllocsProfileRequest
| api$IPprofAllocsProfileRequest
| null,
pprofBlockProfileRequest?:
| api$PprofBlockProfileRequest
| api$IPprofBlockProfileRequest
| null,
pprofMutexProfileRequest?:
| api$PprofMutexProfileRequest
| api$IPprofMutexProfileRequest
| null,
|};
declare class api$PprofRequest {
constructor(properties?: api$IPprofRequest): this;
id: string;
pprofCpuProfileRequest?: api$PprofCpuProfileRequest | null;
pprofHeapProfileRequest?: api$PprofHeapProfileRequest | null;
pprofAllocsProfileRequest?: api$PprofAllocsProfileRequest | null;
pprofBlockProfileRequest?: api$PprofBlockProfileRequest | null;
pprofMutexProfileRequest?: api$PprofMutexProfileRequest | null;
body?:
| "pprofCpuProfileRequest"
| "pprofHeapProfileRequest"
| "pprofAllocsProfileRequest"
| "pprofBlockProfileRequest"
| "pprofMutexProfileRequest";
static create(properties?: api$IPprofRequest): api$PprofRequest;
static encode(
message: api$PprofRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PprofRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PprofRequest;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PprofRequest;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PprofRequest;
static toObject(
message: api$PprofRequest,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPprofAllocsProfileRequest = {|
debug?: boolean | null,
|};
declare class api$PprofAllocsProfileRequest {
constructor(properties?: api$IPprofAllocsProfileRequest): this;
debug: boolean;
static create(
properties?: api$IPprofAllocsProfileRequest
): api$PprofAllocsProfileRequest;
static encode(
message: api$PprofAllocsProfileRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PprofAllocsProfileRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PprofAllocsProfileRequest;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PprofAllocsProfileRequest;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PprofAllocsProfileRequest;
static toObject(
message: api$PprofAllocsProfileRequest,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPprofBlockProfileRequest = {|
debug?: boolean | null,
|};
declare class api$PprofBlockProfileRequest {
constructor(properties?: api$IPprofBlockProfileRequest): this;
debug: boolean;
static create(
properties?: api$IPprofBlockProfileRequest
): api$PprofBlockProfileRequest;
static encode(
message: api$PprofBlockProfileRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PprofBlockProfileRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PprofBlockProfileRequest;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PprofBlockProfileRequest;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PprofBlockProfileRequest;
static toObject(
message: api$PprofBlockProfileRequest,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPprofCpuProfileRequest = {|
seconds?: number | null,
|};
declare class api$PprofCpuProfileRequest {
constructor(properties?: api$IPprofCpuProfileRequest): this;
seconds: number;
static create(
properties?: api$IPprofCpuProfileRequest
): api$PprofCpuProfileRequest;
static encode(
message: api$PprofCpuProfileRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PprofCpuProfileRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PprofCpuProfileRequest;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PprofCpuProfileRequest;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PprofCpuProfileRequest;
static toObject(
message: api$PprofCpuProfileRequest,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPprofHeapProfileRequest = {|
gc?: boolean | null,
debug?: boolean | null,
|};
declare class api$PprofHeapProfileRequest {
constructor(properties?: api$IPprofHeapProfileRequest): this;
gc: boolean;
debug: boolean;
static create(
properties?: api$IPprofHeapProfileRequest
): api$PprofHeapProfileRequest;
static encode(
message: api$PprofHeapProfileRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PprofHeapProfileRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PprofHeapProfileRequest;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PprofHeapProfileRequest;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PprofHeapProfileRequest;
static toObject(
message: api$PprofHeapProfileRequest,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPprofMutexProfileRequest = {|
debug?: boolean | null,
|};
declare class api$PprofMutexProfileRequest {
constructor(properties?: api$IPprofMutexProfileRequest): this;
debug: boolean;
static create(
properties?: api$IPprofMutexProfileRequest
): api$PprofMutexProfileRequest;
static encode(
message: api$PprofMutexProfileRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PprofMutexProfileRequest,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PprofMutexProfileRequest;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PprofMutexProfileRequest;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PprofMutexProfileRequest;
static toObject(
message: api$PprofMutexProfileRequest,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPprofResponse = {|
id?: string | null,
profile?: Uint8Array | null,
|};
declare class api$PprofResponse {
constructor(properties?: api$IPprofResponse): this;
id: string;
profile: Uint8Array;
static create(properties?: api$IPprofResponse): api$PprofResponse;
static encode(
message: api$PprofResponse,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PprofResponse,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PprofResponse;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$PprofResponse;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PprofResponse;
static toObject(
message: api$PprofResponse,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IPTYConfig = {|
pipeMode?: boolean | null,
|};
declare class api$PTYConfig {
constructor(properties?: api$IPTYConfig): this;
pipeMode: boolean;
static create(properties?: api$IPTYConfig): api$PTYConfig;
static encode(
message: api$PTYConfig,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$PTYConfig,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$PTYConfig;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$PTYConfig;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$PTYConfig;
static toObject(
message: api$PTYConfig,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IRepl = {|
id?: string | null,
language?: string | null,
bucket?: string | null,
slug?: string | null,
user?: string | null,
sourceRepl?: string | null,
|};
declare class api$Repl {
constructor(properties?: api$IRepl): this;
id: string;
language: string;
bucket: string;
slug: string;
user: string;
sourceRepl: string;
static create(properties?: api$IRepl): api$Repl;
static encode(message: api$Repl, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(
message: api$Repl,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$Repl;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Repl;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$Repl;
static toObject(
message: api$Repl,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IResourceLimits = {|
net?: boolean | null,
memory?: number | null,
threads?: number | null,
shares?: number | null,
disk?: number | null,
|};
declare class api$ResourceLimits {
constructor(properties?: api$IResourceLimits): this;
net: boolean;
memory: number;
threads: number;
shares: number;
disk: number;
static create(properties?: api$IResourceLimits): api$ResourceLimits;
static encode(
message: api$ResourceLimits,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ResourceLimits,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ResourceLimits;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$ResourceLimits;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ResourceLimits;
static toObject(
message: api$ResourceLimits,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$IReplToken = {|
iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
exp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
salt?: string | null,
cluster?: string | null,
persistence?: $Values<typeof api$ReplToken$Persistence> | null,
repl?: api$Repl | api$IRepl | null,
id?: api$ReplToken$ReplID | api$ReplToken$IReplID | null,
classroom?:
| api$ReplToken$ClassroomMetadata
| api$ReplToken$IClassroomMetadata
| null,
resourceLimits?: api$ResourceLimits | api$IResourceLimits | null,
format?: $Values<typeof api$ReplToken$WireFormat> | null,
presenced?: api$ReplToken$Presenced | api$ReplToken$IPresenced | null,
flags?: string[] | null,
|};
declare class api$ReplToken {
constructor(properties?: api$IReplToken): this;
iat?: google$protobuf$Timestamp | null;
exp?: google$protobuf$Timestamp | null;
salt: string;
cluster: string;
persistence: $Values<typeof api$ReplToken$Persistence>;
repl?: api$Repl | null;
id?: api$ReplToken$ReplID | null;
classroom?: api$ReplToken$ClassroomMetadata | null;
resourceLimits?: api$ResourceLimits | null;
format: $Values<typeof api$ReplToken$WireFormat>;
presenced?: api$ReplToken$Presenced | null;
flags: string[];
metadata?: "repl" | "id" | "classroom";
static create(properties?: api$IReplToken): api$ReplToken;
static encode(
message: api$ReplToken,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ReplToken,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ReplToken;
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$ReplToken;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ReplToken;
static toObject(
message: api$ReplToken,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var npm$namespace$api$ReplToken: {|
Persistence: typeof api$ReplToken$Persistence,
WireFormat: typeof api$ReplToken$WireFormat,
ClassroomMetadata: typeof api$ReplToken$ClassroomMetadata,
ReplID: typeof api$ReplToken$ReplID,
Presenced: typeof api$ReplToken$Presenced,
|};
declare var api$ReplToken$Persistence: {|
+PERSISTENT: 0, +EPHEMERAL: 1, +NONE: 2, |};
declare type api$ReplToken$IClassroomMetadata = {|
id?: string | null,
language?: string | null,
|};
declare class api$ReplToken$ClassroomMetadata {
constructor(properties?: api$ReplToken$IClassroomMetadata): this;
id: string;
language: string;
static create(
properties?: api$ReplToken$IClassroomMetadata
): api$ReplToken$ClassroomMetadata;
static encode(
message: api$ReplToken$ClassroomMetadata,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ReplToken$ClassroomMetadata,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ReplToken$ClassroomMetadata;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$ReplToken$ClassroomMetadata;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ReplToken$ClassroomMetadata;
static toObject(
message: api$ReplToken$ClassroomMetadata,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare type api$ReplToken$IReplID = {|
id?: string | null,
sourceRepl?: string | null,
|};
declare class api$ReplToken$ReplID {
constructor(properties?: api$ReplToken$IReplID): this;
id: string;
sourceRepl: string;
static create(properties?: api$ReplToken$IReplID): api$ReplToken$ReplID;
static encode(
message: api$ReplToken$ReplID,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ReplToken$ReplID,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ReplToken$ReplID;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$ReplToken$ReplID;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ReplToken$ReplID;
static toObject(
message: api$ReplToken$ReplID,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var api$ReplToken$WireFormat: {|
+PROTOBUF: 0, +JSON: 1, |};
declare type api$ReplToken$IPresenced = {|
bearerID?: number | null,
bearerName?: string | null,
|};
declare class api$ReplToken$Presenced {
constructor(properties?: api$ReplToken$IPresenced): this;
bearerID: number;
bearerName: string;
static create(properties?: api$ReplToken$IPresenced): api$ReplToken$Presenced;
static encode(
message: api$ReplToken$Presenced,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: api$ReplToken$Presenced,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): api$ReplToken$Presenced;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): api$ReplToken$Presenced;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): api$ReplToken$Presenced;
static toObject(
message: api$ReplToken$Presenced,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}
declare var google: typeof npm$namespace$google;
declare var npm$namespace$google: {|
protobuf: typeof npm$namespace$google$protobuf,
|};
declare var npm$namespace$google$protobuf: {|
Timestamp: typeof google$protobuf$Timestamp,
|};
declare type google$protobuf$ITimestamp = {|
seconds?: number | null,
nanos?: number | null,
|};
declare class google$protobuf$Timestamp {
constructor(properties?: google$protobuf$ITimestamp): this;
seconds: number;
nanos: number;
static create(
properties?: google$protobuf$ITimestamp
): google$protobuf$Timestamp;
static encode(
message: google$protobuf$Timestamp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static encodeDelimited(
message: google$protobuf$Timestamp,
writer?: $protobuf.Writer
): $protobuf.Writer;
static decode(
reader: $protobuf.Reader | Uint8Array,
length?: number
): google$protobuf$Timestamp;
static decodeDelimited(
reader: $protobuf.Reader | Uint8Array
): google$protobuf$Timestamp;
static verify(message: {
[k: string]: any,
}): string | null;
static fromObject(object: {
[k: string]: any,
}): google$protobuf$Timestamp;
static toObject(
message: google$protobuf$Timestamp,
options?: $protobuf.IConversionOptions
): {
[k: string]: any,
};
toJSON(): {
[k: string]: any,
};
}