@lazycatcloud/sdk 0.1.489 → 0.1.491
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/apk_shell.d.ts +126 -0
- package/dist/common/box.d.ts +2061 -0
- package/dist/common/browseronly.d.ts +159 -0
- package/dist/common/end_device.d.ts +358 -0
- package/dist/common/file_handler.d.ts +3398 -0
- package/dist/common/filetrans.d.ts +8541 -0
- package/dist/common/gateway.d.ts +249 -0
- package/dist/common/iscsi.d.ts +1841 -0
- package/dist/common/media_meta.d.ts +342 -0
- package/dist/common/message.d.ts +1435 -0
- package/dist/common/peripheral_device.d.ts +1768 -0
- package/dist/common/security_context.d.ts +241 -0
- package/dist/common/users.d.ts +367 -0
- package/dist/dlna/dlna.d.ts +344 -0
- package/dist/extentions/app_common.d.ts +130 -0
- package/dist/extentions/base.d.ts +136 -0
- package/dist/extentions/client_authorization.d.ts +19 -0
- package/dist/extentions/index.d.ts +24 -0
- package/dist/extentions/mediasession/definitions.d.ts +54 -0
- package/dist/extentions/mediasession/index.d.ts +8 -0
- package/dist/extentions/mediasession/web.d.ts +7 -0
- package/dist/extentions/safe_app.d.ts +35 -0
- package/dist/extentions/unsafe_app.d.ts +4 -0
- package/dist/extentions/vibrate_type.d.ts +10 -0
- package/dist/extentions/webview-bridge.d.ts +1 -0
- package/dist/google/protobuf/empty.d.ts +20 -0
- package/dist/google/protobuf/timestamp.d.ts +274 -0
- package/dist/grpcweb.d.ts +27 -0
- package/dist/index.d.ts +87 -0
- package/dist/localdevice/ble.d.ts +566 -0
- package/dist/localdevice/client.d.ts +218 -0
- package/dist/localdevice/cloud-driver.d.ts +152 -0
- package/dist/localdevice/config.d.ts +150 -0
- package/dist/localdevice/contacts.d.ts +556 -0
- package/dist/localdevice/device.d.ts +86 -0
- package/dist/localdevice/dialog.d.ts +239 -0
- package/dist/localdevice/local-launch.d.ts +303 -0
- package/dist/localdevice/network.d.ts +84 -0
- package/dist/localdevice/oneway-sync.d.ts +274 -0
- package/dist/localdevice/permission.d.ts +233 -0
- package/dist/localdevice/photo.d.ts +1408 -0
- package/dist/localdevice/photo.js.map +1 -1
- package/dist/localdevice/remote-control.d.ts +1941 -0
- package/dist/localdevice/remote-input-method.d.ts +128 -0
- package/dist/package.json +1 -1
- package/dist/sys/btled.d.ts +197 -0
- package/dist/sys/btrfs.d.ts +642 -0
- package/dist/sys/devopt.d.ts +101 -0
- package/dist/sys/dirmon.d.ts +136 -0
- package/dist/sys/event.d.ts +143 -0
- package/dist/sys/hal.d.ts +1021 -0
- package/dist/sys/ingress.d.ts +347 -0
- package/dist/sys/network_manager.d.ts +1179 -0
- package/dist/sys/package_manager.d.ts +25666 -0
- package/dist/sys/stats/cgroup_metrics.d.ts +22045 -0
- package/dist/sys/tvos.d.ts +490 -0
- package/dist/sys/version.d.ts +65 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1179 @@
|
|
|
1
|
+
import { grpc } from "@improbable-eng/grpc-web";
|
|
2
|
+
import Long from "long";
|
|
3
|
+
import _m0 from "protobufjs/minimal";
|
|
4
|
+
import { Empty } from "../google/protobuf/empty";
|
|
5
|
+
export declare enum NetworkDeviceStatus {
|
|
6
|
+
/** NetworkDeviceStatusUnavailable - 不可用 */
|
|
7
|
+
NetworkDeviceStatusUnavailable = 0,
|
|
8
|
+
/** NetworkDeviceStatusDisconnected - 未连接 */
|
|
9
|
+
NetworkDeviceStatusDisconnected = 1,
|
|
10
|
+
/** NetworkDeviceStatusConnecting - 正在连接 */
|
|
11
|
+
NetworkDeviceStatusConnecting = 2,
|
|
12
|
+
/** NetworkDeviceStatusConnected - 已连接 */
|
|
13
|
+
NetworkDeviceStatusConnected = 3,
|
|
14
|
+
/** NetworkDeviceStatusDisconnecting - 正在断开 */
|
|
15
|
+
NetworkDeviceStatusDisconnecting = 4,
|
|
16
|
+
/** NetworkDeviceStatusDisabled - 已禁用 */
|
|
17
|
+
NetworkDeviceStatusDisabled = 5,
|
|
18
|
+
UNRECOGNIZED = -1
|
|
19
|
+
}
|
|
20
|
+
export declare function networkDeviceStatusFromJSON(object: any): NetworkDeviceStatus;
|
|
21
|
+
export declare function networkDeviceStatusToJSON(object: NetworkDeviceStatus): string;
|
|
22
|
+
export declare enum KeyMgmt {
|
|
23
|
+
KeyMgmtNone = 0,
|
|
24
|
+
/** KeyMgmtWEP - WEP (最老的协议了,目前几乎没人用) */
|
|
25
|
+
KeyMgmtWEP = 1,
|
|
26
|
+
/** KeyMgmtWPA_PSK - WPA/WPA2-Personal (一般大概率都是这个,应当作为默认值) */
|
|
27
|
+
KeyMgmtWPA_PSK = 2,
|
|
28
|
+
/** KeyMgmtSAE - WPA3-Personal (新一代协议,用的人比较少) */
|
|
29
|
+
KeyMgmtSAE = 3,
|
|
30
|
+
UNRECOGNIZED = -1
|
|
31
|
+
}
|
|
32
|
+
export declare function keyMgmtFromJSON(object: any): KeyMgmt;
|
|
33
|
+
export declare function keyMgmtToJSON(object: KeyMgmt): string;
|
|
34
|
+
export declare enum WifiConnectResult {
|
|
35
|
+
WifiConnectResultSuccess = 0,
|
|
36
|
+
WifiConnectResultNoSuchBssid = 1,
|
|
37
|
+
WifiConnectResultWrongPassword = 2,
|
|
38
|
+
WifiConnectResultUnknownError = 3,
|
|
39
|
+
UNRECOGNIZED = -1
|
|
40
|
+
}
|
|
41
|
+
export declare function wifiConnectResultFromJSON(object: any): WifiConnectResult;
|
|
42
|
+
export declare function wifiConnectResultToJSON(object: WifiConnectResult): string;
|
|
43
|
+
export interface AccessPointInfo {
|
|
44
|
+
/** 热点的网卡 mac 地址(由于 ssid 可能重复,所以将此字段作为整个列表的 index) */
|
|
45
|
+
bssid: string;
|
|
46
|
+
/** 热点的 ssid */
|
|
47
|
+
ssid: string;
|
|
48
|
+
/** 信号强度(范围 0 <= signal <= 100) */
|
|
49
|
+
signal: number;
|
|
50
|
+
/** 信号频率 */
|
|
51
|
+
frequency: number;
|
|
52
|
+
/** 是否需要密码 */
|
|
53
|
+
security: boolean;
|
|
54
|
+
/** 是否已连接 */
|
|
55
|
+
connected: boolean;
|
|
56
|
+
/** 是否已保存密码 */
|
|
57
|
+
saved: boolean;
|
|
58
|
+
/** 是否自动连接 */
|
|
59
|
+
autoConnected: boolean;
|
|
60
|
+
/** 是否锁定 bssid (锁定后,不会自动连接其他同名不同 bssid 的热点) */
|
|
61
|
+
bssidLocked: boolean;
|
|
62
|
+
}
|
|
63
|
+
export interface AccessPointInfoList {
|
|
64
|
+
list: AccessPointInfo[];
|
|
65
|
+
}
|
|
66
|
+
export interface NetworkDeviceStatusInfo {
|
|
67
|
+
/** 是否已连接到互联网 */
|
|
68
|
+
hasInternet: boolean;
|
|
69
|
+
/** 有线连接状态(已假设只有一块有线网卡) */
|
|
70
|
+
WiredDevice: NetworkDeviceStatus;
|
|
71
|
+
/** 无线设备状态(已假设只有一块无线网卡) */
|
|
72
|
+
WirelessDevice: NetworkDeviceStatus;
|
|
73
|
+
/** 网络协商速率 */
|
|
74
|
+
linkSpeed: Long;
|
|
75
|
+
/** 若无线设备已连接,则该字段表示已连接的 wifi 的信息 */
|
|
76
|
+
info?: AccessPointInfo | undefined;
|
|
77
|
+
}
|
|
78
|
+
export interface WifiConnectInfo {
|
|
79
|
+
/** bssid 和 ssid 指定其一即可 */
|
|
80
|
+
bssid: string;
|
|
81
|
+
/** 当指定了 bssid 时,该值无效。所以要指定该值就不要指定 bssid */
|
|
82
|
+
ssid: string;
|
|
83
|
+
/** wifi 密码,如果 KeyMgmt 值是 KeyMgmtNone 则该值无效 */
|
|
84
|
+
password: string;
|
|
85
|
+
/** 加密类型,该值一般不用指定,会自动嗅探,只有连接隐藏网络或手动添加网络才会用到此字段 */
|
|
86
|
+
keyMgmt?: KeyMgmt | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* 连接超时时间(单位:秒),如果不指定则为 NetworkManager 默认行为。
|
|
89
|
+
* 如果连接超时,会当作失败处理抛出异常
|
|
90
|
+
*/
|
|
91
|
+
timeout?: Long | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface WifiConnectTempInfo {
|
|
94
|
+
/** 暂时连接的 bssid */
|
|
95
|
+
bssid: string;
|
|
96
|
+
/** 到时间后自动连接的 bssid */
|
|
97
|
+
fallbackBssid: string;
|
|
98
|
+
/** 连接持续时间(单位:秒),到时间后会自动连接回之前的 bssid */
|
|
99
|
+
duration: Long;
|
|
100
|
+
}
|
|
101
|
+
export interface WifiForgetInfo {
|
|
102
|
+
ssid: string;
|
|
103
|
+
}
|
|
104
|
+
export interface WifiConfigInfo {
|
|
105
|
+
ssid: string;
|
|
106
|
+
password: string;
|
|
107
|
+
keyMgmt: KeyMgmt;
|
|
108
|
+
}
|
|
109
|
+
export interface WifiConnectReply {
|
|
110
|
+
result: WifiConnectResult;
|
|
111
|
+
}
|
|
112
|
+
export interface ConnectivityRequest {
|
|
113
|
+
url: string;
|
|
114
|
+
}
|
|
115
|
+
export interface ConnectivityReply {
|
|
116
|
+
connectivity: ConnectivityReply_Connectivity;
|
|
117
|
+
}
|
|
118
|
+
export declare enum ConnectivityReply_Connectivity {
|
|
119
|
+
None = 0,
|
|
120
|
+
Portal = 1,
|
|
121
|
+
Limited = 2,
|
|
122
|
+
Full = 3,
|
|
123
|
+
Unknown = 4,
|
|
124
|
+
UNRECOGNIZED = -1
|
|
125
|
+
}
|
|
126
|
+
export declare function connectivityReply_ConnectivityFromJSON(object: any): ConnectivityReply_Connectivity;
|
|
127
|
+
export declare function connectivityReply_ConnectivityToJSON(object: ConnectivityReply_Connectivity): string;
|
|
128
|
+
export interface GetConnectivityReply {
|
|
129
|
+
connectivity: GetConnectivityReply_Connectivity;
|
|
130
|
+
}
|
|
131
|
+
export declare enum GetConnectivityReply_Connectivity {
|
|
132
|
+
None = 0,
|
|
133
|
+
Portal = 1,
|
|
134
|
+
Limited = 2,
|
|
135
|
+
Full = 3,
|
|
136
|
+
Unknown = 4,
|
|
137
|
+
UNRECOGNIZED = -1
|
|
138
|
+
}
|
|
139
|
+
export declare function getConnectivityReply_ConnectivityFromJSON(object: any): GetConnectivityReply_Connectivity;
|
|
140
|
+
export declare function getConnectivityReply_ConnectivityToJSON(object: GetConnectivityReply_Connectivity): string;
|
|
141
|
+
export interface NmcliCallRequest {
|
|
142
|
+
/** nmcli connection add */
|
|
143
|
+
args: string[];
|
|
144
|
+
uploads: NmcliCallRequest_Upload[];
|
|
145
|
+
}
|
|
146
|
+
export interface NmcliCallRequest_Upload {
|
|
147
|
+
filename: string;
|
|
148
|
+
content: Uint8Array;
|
|
149
|
+
}
|
|
150
|
+
export interface NmcliCallReply {
|
|
151
|
+
/** 命令的输出 */
|
|
152
|
+
out: string;
|
|
153
|
+
}
|
|
154
|
+
export declare const AccessPointInfo: {
|
|
155
|
+
encode(message: AccessPointInfo, writer?: _m0.Writer): _m0.Writer;
|
|
156
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AccessPointInfo;
|
|
157
|
+
fromJSON(object: any): AccessPointInfo;
|
|
158
|
+
toJSON(message: AccessPointInfo): unknown;
|
|
159
|
+
create<I extends {
|
|
160
|
+
bssid?: string;
|
|
161
|
+
ssid?: string;
|
|
162
|
+
signal?: number;
|
|
163
|
+
frequency?: number;
|
|
164
|
+
security?: boolean;
|
|
165
|
+
connected?: boolean;
|
|
166
|
+
saved?: boolean;
|
|
167
|
+
autoConnected?: boolean;
|
|
168
|
+
bssidLocked?: boolean;
|
|
169
|
+
} & {
|
|
170
|
+
bssid?: string;
|
|
171
|
+
ssid?: string;
|
|
172
|
+
signal?: number;
|
|
173
|
+
frequency?: number;
|
|
174
|
+
security?: boolean;
|
|
175
|
+
connected?: boolean;
|
|
176
|
+
saved?: boolean;
|
|
177
|
+
autoConnected?: boolean;
|
|
178
|
+
bssidLocked?: boolean;
|
|
179
|
+
} & { [K in Exclude<keyof I, keyof AccessPointInfo>]: never; }>(base?: I): AccessPointInfo;
|
|
180
|
+
fromPartial<I_1 extends {
|
|
181
|
+
bssid?: string;
|
|
182
|
+
ssid?: string;
|
|
183
|
+
signal?: number;
|
|
184
|
+
frequency?: number;
|
|
185
|
+
security?: boolean;
|
|
186
|
+
connected?: boolean;
|
|
187
|
+
saved?: boolean;
|
|
188
|
+
autoConnected?: boolean;
|
|
189
|
+
bssidLocked?: boolean;
|
|
190
|
+
} & {
|
|
191
|
+
bssid?: string;
|
|
192
|
+
ssid?: string;
|
|
193
|
+
signal?: number;
|
|
194
|
+
frequency?: number;
|
|
195
|
+
security?: boolean;
|
|
196
|
+
connected?: boolean;
|
|
197
|
+
saved?: boolean;
|
|
198
|
+
autoConnected?: boolean;
|
|
199
|
+
bssidLocked?: boolean;
|
|
200
|
+
} & { [K_1 in Exclude<keyof I_1, keyof AccessPointInfo>]: never; }>(object: I_1): AccessPointInfo;
|
|
201
|
+
};
|
|
202
|
+
export declare const AccessPointInfoList: {
|
|
203
|
+
encode(message: AccessPointInfoList, writer?: _m0.Writer): _m0.Writer;
|
|
204
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AccessPointInfoList;
|
|
205
|
+
fromJSON(object: any): AccessPointInfoList;
|
|
206
|
+
toJSON(message: AccessPointInfoList): unknown;
|
|
207
|
+
create<I extends {
|
|
208
|
+
list?: {
|
|
209
|
+
bssid?: string;
|
|
210
|
+
ssid?: string;
|
|
211
|
+
signal?: number;
|
|
212
|
+
frequency?: number;
|
|
213
|
+
security?: boolean;
|
|
214
|
+
connected?: boolean;
|
|
215
|
+
saved?: boolean;
|
|
216
|
+
autoConnected?: boolean;
|
|
217
|
+
bssidLocked?: boolean;
|
|
218
|
+
}[];
|
|
219
|
+
} & {
|
|
220
|
+
list?: {
|
|
221
|
+
bssid?: string;
|
|
222
|
+
ssid?: string;
|
|
223
|
+
signal?: number;
|
|
224
|
+
frequency?: number;
|
|
225
|
+
security?: boolean;
|
|
226
|
+
connected?: boolean;
|
|
227
|
+
saved?: boolean;
|
|
228
|
+
autoConnected?: boolean;
|
|
229
|
+
bssidLocked?: boolean;
|
|
230
|
+
}[] & ({
|
|
231
|
+
bssid?: string;
|
|
232
|
+
ssid?: string;
|
|
233
|
+
signal?: number;
|
|
234
|
+
frequency?: number;
|
|
235
|
+
security?: boolean;
|
|
236
|
+
connected?: boolean;
|
|
237
|
+
saved?: boolean;
|
|
238
|
+
autoConnected?: boolean;
|
|
239
|
+
bssidLocked?: boolean;
|
|
240
|
+
} & {
|
|
241
|
+
bssid?: string;
|
|
242
|
+
ssid?: string;
|
|
243
|
+
signal?: number;
|
|
244
|
+
frequency?: number;
|
|
245
|
+
security?: boolean;
|
|
246
|
+
connected?: boolean;
|
|
247
|
+
saved?: boolean;
|
|
248
|
+
autoConnected?: boolean;
|
|
249
|
+
bssidLocked?: boolean;
|
|
250
|
+
} & { [K in Exclude<keyof I["list"][number], keyof AccessPointInfo>]: never; })[] & { [K_1 in Exclude<keyof I["list"], keyof {
|
|
251
|
+
bssid?: string;
|
|
252
|
+
ssid?: string;
|
|
253
|
+
signal?: number;
|
|
254
|
+
frequency?: number;
|
|
255
|
+
security?: boolean;
|
|
256
|
+
connected?: boolean;
|
|
257
|
+
saved?: boolean;
|
|
258
|
+
autoConnected?: boolean;
|
|
259
|
+
bssidLocked?: boolean;
|
|
260
|
+
}[]>]: never; };
|
|
261
|
+
} & { [K_2 in Exclude<keyof I, "list">]: never; }>(base?: I): AccessPointInfoList;
|
|
262
|
+
fromPartial<I_1 extends {
|
|
263
|
+
list?: {
|
|
264
|
+
bssid?: string;
|
|
265
|
+
ssid?: string;
|
|
266
|
+
signal?: number;
|
|
267
|
+
frequency?: number;
|
|
268
|
+
security?: boolean;
|
|
269
|
+
connected?: boolean;
|
|
270
|
+
saved?: boolean;
|
|
271
|
+
autoConnected?: boolean;
|
|
272
|
+
bssidLocked?: boolean;
|
|
273
|
+
}[];
|
|
274
|
+
} & {
|
|
275
|
+
list?: {
|
|
276
|
+
bssid?: string;
|
|
277
|
+
ssid?: string;
|
|
278
|
+
signal?: number;
|
|
279
|
+
frequency?: number;
|
|
280
|
+
security?: boolean;
|
|
281
|
+
connected?: boolean;
|
|
282
|
+
saved?: boolean;
|
|
283
|
+
autoConnected?: boolean;
|
|
284
|
+
bssidLocked?: boolean;
|
|
285
|
+
}[] & ({
|
|
286
|
+
bssid?: string;
|
|
287
|
+
ssid?: string;
|
|
288
|
+
signal?: number;
|
|
289
|
+
frequency?: number;
|
|
290
|
+
security?: boolean;
|
|
291
|
+
connected?: boolean;
|
|
292
|
+
saved?: boolean;
|
|
293
|
+
autoConnected?: boolean;
|
|
294
|
+
bssidLocked?: boolean;
|
|
295
|
+
} & {
|
|
296
|
+
bssid?: string;
|
|
297
|
+
ssid?: string;
|
|
298
|
+
signal?: number;
|
|
299
|
+
frequency?: number;
|
|
300
|
+
security?: boolean;
|
|
301
|
+
connected?: boolean;
|
|
302
|
+
saved?: boolean;
|
|
303
|
+
autoConnected?: boolean;
|
|
304
|
+
bssidLocked?: boolean;
|
|
305
|
+
} & { [K_3 in Exclude<keyof I_1["list"][number], keyof AccessPointInfo>]: never; })[] & { [K_4 in Exclude<keyof I_1["list"], keyof {
|
|
306
|
+
bssid?: string;
|
|
307
|
+
ssid?: string;
|
|
308
|
+
signal?: number;
|
|
309
|
+
frequency?: number;
|
|
310
|
+
security?: boolean;
|
|
311
|
+
connected?: boolean;
|
|
312
|
+
saved?: boolean;
|
|
313
|
+
autoConnected?: boolean;
|
|
314
|
+
bssidLocked?: boolean;
|
|
315
|
+
}[]>]: never; };
|
|
316
|
+
} & { [K_5 in Exclude<keyof I_1, "list">]: never; }>(object: I_1): AccessPointInfoList;
|
|
317
|
+
};
|
|
318
|
+
export declare const NetworkDeviceStatusInfo: {
|
|
319
|
+
encode(message: NetworkDeviceStatusInfo, writer?: _m0.Writer): _m0.Writer;
|
|
320
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): NetworkDeviceStatusInfo;
|
|
321
|
+
fromJSON(object: any): NetworkDeviceStatusInfo;
|
|
322
|
+
toJSON(message: NetworkDeviceStatusInfo): unknown;
|
|
323
|
+
create<I extends {
|
|
324
|
+
hasInternet?: boolean;
|
|
325
|
+
WiredDevice?: NetworkDeviceStatus;
|
|
326
|
+
WirelessDevice?: NetworkDeviceStatus;
|
|
327
|
+
linkSpeed?: string | number | Long;
|
|
328
|
+
info?: {
|
|
329
|
+
bssid?: string;
|
|
330
|
+
ssid?: string;
|
|
331
|
+
signal?: number;
|
|
332
|
+
frequency?: number;
|
|
333
|
+
security?: boolean;
|
|
334
|
+
connected?: boolean;
|
|
335
|
+
saved?: boolean;
|
|
336
|
+
autoConnected?: boolean;
|
|
337
|
+
bssidLocked?: boolean;
|
|
338
|
+
};
|
|
339
|
+
} & {
|
|
340
|
+
hasInternet?: boolean;
|
|
341
|
+
WiredDevice?: NetworkDeviceStatus;
|
|
342
|
+
WirelessDevice?: NetworkDeviceStatus;
|
|
343
|
+
linkSpeed?: string | number | (Long & {
|
|
344
|
+
high: number;
|
|
345
|
+
low: number;
|
|
346
|
+
unsigned: boolean;
|
|
347
|
+
add: (addend: import("long/umd/types").LongLike) => Long;
|
|
348
|
+
and: (other: import("long/umd/types").LongLike) => Long;
|
|
349
|
+
compare: (other: import("long/umd/types").LongLike) => number;
|
|
350
|
+
comp: (other: import("long/umd/types").LongLike) => number;
|
|
351
|
+
divide: (divisor: import("long/umd/types").LongLike) => Long;
|
|
352
|
+
div: (divisor: import("long/umd/types").LongLike) => Long;
|
|
353
|
+
equals: (other: import("long/umd/types").LongLike) => boolean;
|
|
354
|
+
eq: (other: import("long/umd/types").LongLike) => boolean;
|
|
355
|
+
getHighBits: () => number;
|
|
356
|
+
getHighBitsUnsigned: () => number;
|
|
357
|
+
getLowBits: () => number;
|
|
358
|
+
getLowBitsUnsigned: () => number;
|
|
359
|
+
getNumBitsAbs: () => number;
|
|
360
|
+
greaterThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
361
|
+
gt: (other: import("long/umd/types").LongLike) => boolean;
|
|
362
|
+
greaterThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
363
|
+
gte: (other: import("long/umd/types").LongLike) => boolean;
|
|
364
|
+
ge: (other: import("long/umd/types").LongLike) => boolean;
|
|
365
|
+
isEven: () => boolean;
|
|
366
|
+
isNegative: () => boolean;
|
|
367
|
+
isOdd: () => boolean;
|
|
368
|
+
isPositive: () => boolean;
|
|
369
|
+
isSafeInteger: () => boolean;
|
|
370
|
+
isZero: () => boolean;
|
|
371
|
+
eqz: () => boolean;
|
|
372
|
+
lessThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
373
|
+
lt: (other: import("long/umd/types").LongLike) => boolean;
|
|
374
|
+
lessThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
375
|
+
lte: (other: import("long/umd/types").LongLike) => boolean;
|
|
376
|
+
le: (other: import("long/umd/types").LongLike) => boolean;
|
|
377
|
+
modulo: (other: import("long/umd/types").LongLike) => Long;
|
|
378
|
+
mod: (other: import("long/umd/types").LongLike) => Long;
|
|
379
|
+
rem: (other: import("long/umd/types").LongLike) => Long;
|
|
380
|
+
multiply: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
381
|
+
mul: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
382
|
+
negate: () => Long;
|
|
383
|
+
neg: () => Long;
|
|
384
|
+
not: () => Long;
|
|
385
|
+
countLeadingZeros: () => number;
|
|
386
|
+
clz: () => number;
|
|
387
|
+
countTrailingZeros: () => number;
|
|
388
|
+
ctz: () => number;
|
|
389
|
+
notEquals: (other: import("long/umd/types").LongLike) => boolean;
|
|
390
|
+
neq: (other: import("long/umd/types").LongLike) => boolean;
|
|
391
|
+
ne: (other: import("long/umd/types").LongLike) => boolean;
|
|
392
|
+
or: (other: import("long/umd/types").LongLike) => Long;
|
|
393
|
+
shiftLeft: (numBits: number | Long) => Long;
|
|
394
|
+
shl: (numBits: number | Long) => Long;
|
|
395
|
+
shiftRight: (numBits: number | Long) => Long;
|
|
396
|
+
shr: (numBits: number | Long) => Long;
|
|
397
|
+
shiftRightUnsigned: (numBits: number | Long) => Long;
|
|
398
|
+
shru: (numBits: number | Long) => Long;
|
|
399
|
+
shr_u: (numBits: number | Long) => Long;
|
|
400
|
+
rotateLeft: (numBits: number | Long) => Long;
|
|
401
|
+
rotl: (numBits: number | Long) => Long;
|
|
402
|
+
rotateRight: (numBits: number | Long) => Long;
|
|
403
|
+
rotr: (numBits: number | Long) => Long;
|
|
404
|
+
subtract: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
405
|
+
sub: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
406
|
+
toBigInt: () => bigint;
|
|
407
|
+
toInt: () => number;
|
|
408
|
+
toNumber: () => number;
|
|
409
|
+
toBytes: (le?: boolean) => number[];
|
|
410
|
+
toBytesLE: () => number[];
|
|
411
|
+
toBytesBE: () => number[];
|
|
412
|
+
toSigned: () => Long;
|
|
413
|
+
toString: (radix?: number) => string;
|
|
414
|
+
toUnsigned: () => Long;
|
|
415
|
+
xor: (other: import("long/umd/types").LongLike) => Long;
|
|
416
|
+
} & { [K in Exclude<keyof I["linkSpeed"], keyof Long>]: never; });
|
|
417
|
+
info?: {
|
|
418
|
+
bssid?: string;
|
|
419
|
+
ssid?: string;
|
|
420
|
+
signal?: number;
|
|
421
|
+
frequency?: number;
|
|
422
|
+
security?: boolean;
|
|
423
|
+
connected?: boolean;
|
|
424
|
+
saved?: boolean;
|
|
425
|
+
autoConnected?: boolean;
|
|
426
|
+
bssidLocked?: boolean;
|
|
427
|
+
} & {
|
|
428
|
+
bssid?: string;
|
|
429
|
+
ssid?: string;
|
|
430
|
+
signal?: number;
|
|
431
|
+
frequency?: number;
|
|
432
|
+
security?: boolean;
|
|
433
|
+
connected?: boolean;
|
|
434
|
+
saved?: boolean;
|
|
435
|
+
autoConnected?: boolean;
|
|
436
|
+
bssidLocked?: boolean;
|
|
437
|
+
} & { [K_1 in Exclude<keyof I["info"], keyof AccessPointInfo>]: never; };
|
|
438
|
+
} & { [K_2 in Exclude<keyof I, keyof NetworkDeviceStatusInfo>]: never; }>(base?: I): NetworkDeviceStatusInfo;
|
|
439
|
+
fromPartial<I_1 extends {
|
|
440
|
+
hasInternet?: boolean;
|
|
441
|
+
WiredDevice?: NetworkDeviceStatus;
|
|
442
|
+
WirelessDevice?: NetworkDeviceStatus;
|
|
443
|
+
linkSpeed?: string | number | Long;
|
|
444
|
+
info?: {
|
|
445
|
+
bssid?: string;
|
|
446
|
+
ssid?: string;
|
|
447
|
+
signal?: number;
|
|
448
|
+
frequency?: number;
|
|
449
|
+
security?: boolean;
|
|
450
|
+
connected?: boolean;
|
|
451
|
+
saved?: boolean;
|
|
452
|
+
autoConnected?: boolean;
|
|
453
|
+
bssidLocked?: boolean;
|
|
454
|
+
};
|
|
455
|
+
} & {
|
|
456
|
+
hasInternet?: boolean;
|
|
457
|
+
WiredDevice?: NetworkDeviceStatus;
|
|
458
|
+
WirelessDevice?: NetworkDeviceStatus;
|
|
459
|
+
linkSpeed?: string | number | (Long & {
|
|
460
|
+
high: number;
|
|
461
|
+
low: number;
|
|
462
|
+
unsigned: boolean;
|
|
463
|
+
add: (addend: import("long/umd/types").LongLike) => Long;
|
|
464
|
+
and: (other: import("long/umd/types").LongLike) => Long;
|
|
465
|
+
compare: (other: import("long/umd/types").LongLike) => number;
|
|
466
|
+
comp: (other: import("long/umd/types").LongLike) => number;
|
|
467
|
+
divide: (divisor: import("long/umd/types").LongLike) => Long;
|
|
468
|
+
div: (divisor: import("long/umd/types").LongLike) => Long;
|
|
469
|
+
equals: (other: import("long/umd/types").LongLike) => boolean;
|
|
470
|
+
eq: (other: import("long/umd/types").LongLike) => boolean;
|
|
471
|
+
getHighBits: () => number;
|
|
472
|
+
getHighBitsUnsigned: () => number;
|
|
473
|
+
getLowBits: () => number;
|
|
474
|
+
getLowBitsUnsigned: () => number;
|
|
475
|
+
getNumBitsAbs: () => number;
|
|
476
|
+
greaterThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
477
|
+
gt: (other: import("long/umd/types").LongLike) => boolean;
|
|
478
|
+
greaterThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
479
|
+
gte: (other: import("long/umd/types").LongLike) => boolean;
|
|
480
|
+
ge: (other: import("long/umd/types").LongLike) => boolean;
|
|
481
|
+
isEven: () => boolean;
|
|
482
|
+
isNegative: () => boolean;
|
|
483
|
+
isOdd: () => boolean;
|
|
484
|
+
isPositive: () => boolean;
|
|
485
|
+
isSafeInteger: () => boolean;
|
|
486
|
+
isZero: () => boolean;
|
|
487
|
+
eqz: () => boolean;
|
|
488
|
+
lessThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
489
|
+
lt: (other: import("long/umd/types").LongLike) => boolean;
|
|
490
|
+
lessThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
491
|
+
lte: (other: import("long/umd/types").LongLike) => boolean;
|
|
492
|
+
le: (other: import("long/umd/types").LongLike) => boolean;
|
|
493
|
+
modulo: (other: import("long/umd/types").LongLike) => Long;
|
|
494
|
+
mod: (other: import("long/umd/types").LongLike) => Long;
|
|
495
|
+
rem: (other: import("long/umd/types").LongLike) => Long;
|
|
496
|
+
multiply: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
497
|
+
mul: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
498
|
+
negate: () => Long;
|
|
499
|
+
neg: () => Long;
|
|
500
|
+
not: () => Long;
|
|
501
|
+
countLeadingZeros: () => number;
|
|
502
|
+
clz: () => number;
|
|
503
|
+
countTrailingZeros: () => number;
|
|
504
|
+
ctz: () => number;
|
|
505
|
+
notEquals: (other: import("long/umd/types").LongLike) => boolean;
|
|
506
|
+
neq: (other: import("long/umd/types").LongLike) => boolean;
|
|
507
|
+
ne: (other: import("long/umd/types").LongLike) => boolean;
|
|
508
|
+
or: (other: import("long/umd/types").LongLike) => Long;
|
|
509
|
+
shiftLeft: (numBits: number | Long) => Long;
|
|
510
|
+
shl: (numBits: number | Long) => Long;
|
|
511
|
+
shiftRight: (numBits: number | Long) => Long;
|
|
512
|
+
shr: (numBits: number | Long) => Long;
|
|
513
|
+
shiftRightUnsigned: (numBits: number | Long) => Long;
|
|
514
|
+
shru: (numBits: number | Long) => Long;
|
|
515
|
+
shr_u: (numBits: number | Long) => Long;
|
|
516
|
+
rotateLeft: (numBits: number | Long) => Long;
|
|
517
|
+
rotl: (numBits: number | Long) => Long;
|
|
518
|
+
rotateRight: (numBits: number | Long) => Long;
|
|
519
|
+
rotr: (numBits: number | Long) => Long;
|
|
520
|
+
subtract: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
521
|
+
sub: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
522
|
+
toBigInt: () => bigint;
|
|
523
|
+
toInt: () => number;
|
|
524
|
+
toNumber: () => number;
|
|
525
|
+
toBytes: (le?: boolean) => number[];
|
|
526
|
+
toBytesLE: () => number[];
|
|
527
|
+
toBytesBE: () => number[];
|
|
528
|
+
toSigned: () => Long;
|
|
529
|
+
toString: (radix?: number) => string;
|
|
530
|
+
toUnsigned: () => Long;
|
|
531
|
+
xor: (other: import("long/umd/types").LongLike) => Long;
|
|
532
|
+
} & { [K_3 in Exclude<keyof I_1["linkSpeed"], keyof Long>]: never; });
|
|
533
|
+
info?: {
|
|
534
|
+
bssid?: string;
|
|
535
|
+
ssid?: string;
|
|
536
|
+
signal?: number;
|
|
537
|
+
frequency?: number;
|
|
538
|
+
security?: boolean;
|
|
539
|
+
connected?: boolean;
|
|
540
|
+
saved?: boolean;
|
|
541
|
+
autoConnected?: boolean;
|
|
542
|
+
bssidLocked?: boolean;
|
|
543
|
+
} & {
|
|
544
|
+
bssid?: string;
|
|
545
|
+
ssid?: string;
|
|
546
|
+
signal?: number;
|
|
547
|
+
frequency?: number;
|
|
548
|
+
security?: boolean;
|
|
549
|
+
connected?: boolean;
|
|
550
|
+
saved?: boolean;
|
|
551
|
+
autoConnected?: boolean;
|
|
552
|
+
bssidLocked?: boolean;
|
|
553
|
+
} & { [K_4 in Exclude<keyof I_1["info"], keyof AccessPointInfo>]: never; };
|
|
554
|
+
} & { [K_5 in Exclude<keyof I_1, keyof NetworkDeviceStatusInfo>]: never; }>(object: I_1): NetworkDeviceStatusInfo;
|
|
555
|
+
};
|
|
556
|
+
export declare const WifiConnectInfo: {
|
|
557
|
+
encode(message: WifiConnectInfo, writer?: _m0.Writer): _m0.Writer;
|
|
558
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WifiConnectInfo;
|
|
559
|
+
fromJSON(object: any): WifiConnectInfo;
|
|
560
|
+
toJSON(message: WifiConnectInfo): unknown;
|
|
561
|
+
create<I extends {
|
|
562
|
+
bssid?: string;
|
|
563
|
+
ssid?: string;
|
|
564
|
+
password?: string;
|
|
565
|
+
keyMgmt?: KeyMgmt | undefined;
|
|
566
|
+
timeout?: string | number | Long;
|
|
567
|
+
} & {
|
|
568
|
+
bssid?: string;
|
|
569
|
+
ssid?: string;
|
|
570
|
+
password?: string;
|
|
571
|
+
keyMgmt?: KeyMgmt | undefined;
|
|
572
|
+
timeout?: string | number | (Long & {
|
|
573
|
+
high: number;
|
|
574
|
+
low: number;
|
|
575
|
+
unsigned: boolean;
|
|
576
|
+
add: (addend: import("long/umd/types").LongLike) => Long;
|
|
577
|
+
and: (other: import("long/umd/types").LongLike) => Long;
|
|
578
|
+
compare: (other: import("long/umd/types").LongLike) => number;
|
|
579
|
+
comp: (other: import("long/umd/types").LongLike) => number;
|
|
580
|
+
divide: (divisor: import("long/umd/types").LongLike) => Long;
|
|
581
|
+
div: (divisor: import("long/umd/types").LongLike) => Long;
|
|
582
|
+
equals: (other: import("long/umd/types").LongLike) => boolean;
|
|
583
|
+
eq: (other: import("long/umd/types").LongLike) => boolean;
|
|
584
|
+
getHighBits: () => number;
|
|
585
|
+
getHighBitsUnsigned: () => number;
|
|
586
|
+
getLowBits: () => number;
|
|
587
|
+
getLowBitsUnsigned: () => number;
|
|
588
|
+
getNumBitsAbs: () => number;
|
|
589
|
+
greaterThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
590
|
+
gt: (other: import("long/umd/types").LongLike) => boolean;
|
|
591
|
+
greaterThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
592
|
+
gte: (other: import("long/umd/types").LongLike) => boolean;
|
|
593
|
+
ge: (other: import("long/umd/types").LongLike) => boolean;
|
|
594
|
+
isEven: () => boolean;
|
|
595
|
+
isNegative: () => boolean;
|
|
596
|
+
isOdd: () => boolean;
|
|
597
|
+
isPositive: () => boolean;
|
|
598
|
+
isSafeInteger: () => boolean;
|
|
599
|
+
isZero: () => boolean;
|
|
600
|
+
eqz: () => boolean;
|
|
601
|
+
lessThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
602
|
+
lt: (other: import("long/umd/types").LongLike) => boolean;
|
|
603
|
+
lessThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
604
|
+
lte: (other: import("long/umd/types").LongLike) => boolean;
|
|
605
|
+
le: (other: import("long/umd/types").LongLike) => boolean;
|
|
606
|
+
modulo: (other: import("long/umd/types").LongLike) => Long;
|
|
607
|
+
mod: (other: import("long/umd/types").LongLike) => Long;
|
|
608
|
+
rem: (other: import("long/umd/types").LongLike) => Long;
|
|
609
|
+
multiply: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
610
|
+
mul: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
611
|
+
negate: () => Long;
|
|
612
|
+
neg: () => Long;
|
|
613
|
+
not: () => Long;
|
|
614
|
+
countLeadingZeros: () => number;
|
|
615
|
+
clz: () => number;
|
|
616
|
+
countTrailingZeros: () => number;
|
|
617
|
+
ctz: () => number;
|
|
618
|
+
notEquals: (other: import("long/umd/types").LongLike) => boolean;
|
|
619
|
+
neq: (other: import("long/umd/types").LongLike) => boolean;
|
|
620
|
+
ne: (other: import("long/umd/types").LongLike) => boolean;
|
|
621
|
+
or: (other: import("long/umd/types").LongLike) => Long;
|
|
622
|
+
shiftLeft: (numBits: number | Long) => Long;
|
|
623
|
+
shl: (numBits: number | Long) => Long;
|
|
624
|
+
shiftRight: (numBits: number | Long) => Long;
|
|
625
|
+
shr: (numBits: number | Long) => Long;
|
|
626
|
+
shiftRightUnsigned: (numBits: number | Long) => Long;
|
|
627
|
+
shru: (numBits: number | Long) => Long;
|
|
628
|
+
shr_u: (numBits: number | Long) => Long;
|
|
629
|
+
rotateLeft: (numBits: number | Long) => Long;
|
|
630
|
+
rotl: (numBits: number | Long) => Long;
|
|
631
|
+
rotateRight: (numBits: number | Long) => Long;
|
|
632
|
+
rotr: (numBits: number | Long) => Long;
|
|
633
|
+
subtract: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
634
|
+
sub: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
635
|
+
toBigInt: () => bigint;
|
|
636
|
+
toInt: () => number;
|
|
637
|
+
toNumber: () => number;
|
|
638
|
+
toBytes: (le?: boolean) => number[];
|
|
639
|
+
toBytesLE: () => number[];
|
|
640
|
+
toBytesBE: () => number[];
|
|
641
|
+
toSigned: () => Long;
|
|
642
|
+
toString: (radix?: number) => string;
|
|
643
|
+
toUnsigned: () => Long;
|
|
644
|
+
xor: (other: import("long/umd/types").LongLike) => Long;
|
|
645
|
+
} & { [K in Exclude<keyof I["timeout"], keyof Long>]: never; });
|
|
646
|
+
} & { [K_1 in Exclude<keyof I, keyof WifiConnectInfo>]: never; }>(base?: I): WifiConnectInfo;
|
|
647
|
+
fromPartial<I_1 extends {
|
|
648
|
+
bssid?: string;
|
|
649
|
+
ssid?: string;
|
|
650
|
+
password?: string;
|
|
651
|
+
keyMgmt?: KeyMgmt | undefined;
|
|
652
|
+
timeout?: string | number | Long;
|
|
653
|
+
} & {
|
|
654
|
+
bssid?: string;
|
|
655
|
+
ssid?: string;
|
|
656
|
+
password?: string;
|
|
657
|
+
keyMgmt?: KeyMgmt | undefined;
|
|
658
|
+
timeout?: string | number | (Long & {
|
|
659
|
+
high: number;
|
|
660
|
+
low: number;
|
|
661
|
+
unsigned: boolean;
|
|
662
|
+
add: (addend: import("long/umd/types").LongLike) => Long;
|
|
663
|
+
and: (other: import("long/umd/types").LongLike) => Long;
|
|
664
|
+
compare: (other: import("long/umd/types").LongLike) => number;
|
|
665
|
+
comp: (other: import("long/umd/types").LongLike) => number;
|
|
666
|
+
divide: (divisor: import("long/umd/types").LongLike) => Long;
|
|
667
|
+
div: (divisor: import("long/umd/types").LongLike) => Long;
|
|
668
|
+
equals: (other: import("long/umd/types").LongLike) => boolean;
|
|
669
|
+
eq: (other: import("long/umd/types").LongLike) => boolean;
|
|
670
|
+
getHighBits: () => number;
|
|
671
|
+
getHighBitsUnsigned: () => number;
|
|
672
|
+
getLowBits: () => number;
|
|
673
|
+
getLowBitsUnsigned: () => number;
|
|
674
|
+
getNumBitsAbs: () => number;
|
|
675
|
+
greaterThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
676
|
+
gt: (other: import("long/umd/types").LongLike) => boolean;
|
|
677
|
+
greaterThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
678
|
+
gte: (other: import("long/umd/types").LongLike) => boolean;
|
|
679
|
+
ge: (other: import("long/umd/types").LongLike) => boolean;
|
|
680
|
+
isEven: () => boolean;
|
|
681
|
+
isNegative: () => boolean;
|
|
682
|
+
isOdd: () => boolean;
|
|
683
|
+
isPositive: () => boolean;
|
|
684
|
+
isSafeInteger: () => boolean;
|
|
685
|
+
isZero: () => boolean;
|
|
686
|
+
eqz: () => boolean;
|
|
687
|
+
lessThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
688
|
+
lt: (other: import("long/umd/types").LongLike) => boolean;
|
|
689
|
+
lessThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
690
|
+
lte: (other: import("long/umd/types").LongLike) => boolean;
|
|
691
|
+
le: (other: import("long/umd/types").LongLike) => boolean;
|
|
692
|
+
modulo: (other: import("long/umd/types").LongLike) => Long;
|
|
693
|
+
mod: (other: import("long/umd/types").LongLike) => Long;
|
|
694
|
+
rem: (other: import("long/umd/types").LongLike) => Long;
|
|
695
|
+
multiply: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
696
|
+
mul: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
697
|
+
negate: () => Long;
|
|
698
|
+
neg: () => Long;
|
|
699
|
+
not: () => Long;
|
|
700
|
+
countLeadingZeros: () => number;
|
|
701
|
+
clz: () => number;
|
|
702
|
+
countTrailingZeros: () => number;
|
|
703
|
+
ctz: () => number;
|
|
704
|
+
notEquals: (other: import("long/umd/types").LongLike) => boolean;
|
|
705
|
+
neq: (other: import("long/umd/types").LongLike) => boolean;
|
|
706
|
+
ne: (other: import("long/umd/types").LongLike) => boolean;
|
|
707
|
+
or: (other: import("long/umd/types").LongLike) => Long;
|
|
708
|
+
shiftLeft: (numBits: number | Long) => Long;
|
|
709
|
+
shl: (numBits: number | Long) => Long;
|
|
710
|
+
shiftRight: (numBits: number | Long) => Long;
|
|
711
|
+
shr: (numBits: number | Long) => Long;
|
|
712
|
+
shiftRightUnsigned: (numBits: number | Long) => Long;
|
|
713
|
+
shru: (numBits: number | Long) => Long;
|
|
714
|
+
shr_u: (numBits: number | Long) => Long;
|
|
715
|
+
rotateLeft: (numBits: number | Long) => Long;
|
|
716
|
+
rotl: (numBits: number | Long) => Long;
|
|
717
|
+
rotateRight: (numBits: number | Long) => Long;
|
|
718
|
+
rotr: (numBits: number | Long) => Long;
|
|
719
|
+
subtract: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
720
|
+
sub: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
721
|
+
toBigInt: () => bigint;
|
|
722
|
+
toInt: () => number;
|
|
723
|
+
toNumber: () => number;
|
|
724
|
+
toBytes: (le?: boolean) => number[];
|
|
725
|
+
toBytesLE: () => number[];
|
|
726
|
+
toBytesBE: () => number[];
|
|
727
|
+
toSigned: () => Long;
|
|
728
|
+
toString: (radix?: number) => string;
|
|
729
|
+
toUnsigned: () => Long;
|
|
730
|
+
xor: (other: import("long/umd/types").LongLike) => Long;
|
|
731
|
+
} & { [K_2 in Exclude<keyof I_1["timeout"], keyof Long>]: never; });
|
|
732
|
+
} & { [K_3 in Exclude<keyof I_1, keyof WifiConnectInfo>]: never; }>(object: I_1): WifiConnectInfo;
|
|
733
|
+
};
|
|
734
|
+
export declare const WifiConnectTempInfo: {
|
|
735
|
+
encode(message: WifiConnectTempInfo, writer?: _m0.Writer): _m0.Writer;
|
|
736
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WifiConnectTempInfo;
|
|
737
|
+
fromJSON(object: any): WifiConnectTempInfo;
|
|
738
|
+
toJSON(message: WifiConnectTempInfo): unknown;
|
|
739
|
+
create<I extends {
|
|
740
|
+
bssid?: string;
|
|
741
|
+
fallbackBssid?: string;
|
|
742
|
+
duration?: string | number | Long;
|
|
743
|
+
} & {
|
|
744
|
+
bssid?: string;
|
|
745
|
+
fallbackBssid?: string;
|
|
746
|
+
duration?: string | number | (Long & {
|
|
747
|
+
high: number;
|
|
748
|
+
low: number;
|
|
749
|
+
unsigned: boolean;
|
|
750
|
+
add: (addend: import("long/umd/types").LongLike) => Long;
|
|
751
|
+
and: (other: import("long/umd/types").LongLike) => Long;
|
|
752
|
+
compare: (other: import("long/umd/types").LongLike) => number;
|
|
753
|
+
comp: (other: import("long/umd/types").LongLike) => number;
|
|
754
|
+
divide: (divisor: import("long/umd/types").LongLike) => Long;
|
|
755
|
+
div: (divisor: import("long/umd/types").LongLike) => Long;
|
|
756
|
+
equals: (other: import("long/umd/types").LongLike) => boolean;
|
|
757
|
+
eq: (other: import("long/umd/types").LongLike) => boolean;
|
|
758
|
+
getHighBits: () => number;
|
|
759
|
+
getHighBitsUnsigned: () => number;
|
|
760
|
+
getLowBits: () => number;
|
|
761
|
+
getLowBitsUnsigned: () => number;
|
|
762
|
+
getNumBitsAbs: () => number;
|
|
763
|
+
greaterThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
764
|
+
gt: (other: import("long/umd/types").LongLike) => boolean;
|
|
765
|
+
greaterThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
766
|
+
gte: (other: import("long/umd/types").LongLike) => boolean;
|
|
767
|
+
ge: (other: import("long/umd/types").LongLike) => boolean;
|
|
768
|
+
isEven: () => boolean;
|
|
769
|
+
isNegative: () => boolean;
|
|
770
|
+
isOdd: () => boolean;
|
|
771
|
+
isPositive: () => boolean;
|
|
772
|
+
isSafeInteger: () => boolean;
|
|
773
|
+
isZero: () => boolean;
|
|
774
|
+
eqz: () => boolean;
|
|
775
|
+
lessThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
776
|
+
lt: (other: import("long/umd/types").LongLike) => boolean;
|
|
777
|
+
lessThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
778
|
+
lte: (other: import("long/umd/types").LongLike) => boolean;
|
|
779
|
+
le: (other: import("long/umd/types").LongLike) => boolean;
|
|
780
|
+
modulo: (other: import("long/umd/types").LongLike) => Long;
|
|
781
|
+
mod: (other: import("long/umd/types").LongLike) => Long;
|
|
782
|
+
rem: (other: import("long/umd/types").LongLike) => Long;
|
|
783
|
+
multiply: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
784
|
+
mul: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
785
|
+
negate: () => Long;
|
|
786
|
+
neg: () => Long;
|
|
787
|
+
not: () => Long;
|
|
788
|
+
countLeadingZeros: () => number;
|
|
789
|
+
clz: () => number;
|
|
790
|
+
countTrailingZeros: () => number;
|
|
791
|
+
ctz: () => number;
|
|
792
|
+
notEquals: (other: import("long/umd/types").LongLike) => boolean;
|
|
793
|
+
neq: (other: import("long/umd/types").LongLike) => boolean;
|
|
794
|
+
ne: (other: import("long/umd/types").LongLike) => boolean;
|
|
795
|
+
or: (other: import("long/umd/types").LongLike) => Long;
|
|
796
|
+
shiftLeft: (numBits: number | Long) => Long;
|
|
797
|
+
shl: (numBits: number | Long) => Long;
|
|
798
|
+
shiftRight: (numBits: number | Long) => Long;
|
|
799
|
+
shr: (numBits: number | Long) => Long;
|
|
800
|
+
shiftRightUnsigned: (numBits: number | Long) => Long;
|
|
801
|
+
shru: (numBits: number | Long) => Long;
|
|
802
|
+
shr_u: (numBits: number | Long) => Long;
|
|
803
|
+
rotateLeft: (numBits: number | Long) => Long;
|
|
804
|
+
rotl: (numBits: number | Long) => Long;
|
|
805
|
+
rotateRight: (numBits: number | Long) => Long;
|
|
806
|
+
rotr: (numBits: number | Long) => Long;
|
|
807
|
+
subtract: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
808
|
+
sub: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
809
|
+
toBigInt: () => bigint;
|
|
810
|
+
toInt: () => number;
|
|
811
|
+
toNumber: () => number;
|
|
812
|
+
toBytes: (le?: boolean) => number[];
|
|
813
|
+
toBytesLE: () => number[];
|
|
814
|
+
toBytesBE: () => number[];
|
|
815
|
+
toSigned: () => Long;
|
|
816
|
+
toString: (radix?: number) => string;
|
|
817
|
+
toUnsigned: () => Long;
|
|
818
|
+
xor: (other: import("long/umd/types").LongLike) => Long;
|
|
819
|
+
} & { [K in Exclude<keyof I["duration"], keyof Long>]: never; });
|
|
820
|
+
} & { [K_1 in Exclude<keyof I, keyof WifiConnectTempInfo>]: never; }>(base?: I): WifiConnectTempInfo;
|
|
821
|
+
fromPartial<I_1 extends {
|
|
822
|
+
bssid?: string;
|
|
823
|
+
fallbackBssid?: string;
|
|
824
|
+
duration?: string | number | Long;
|
|
825
|
+
} & {
|
|
826
|
+
bssid?: string;
|
|
827
|
+
fallbackBssid?: string;
|
|
828
|
+
duration?: string | number | (Long & {
|
|
829
|
+
high: number;
|
|
830
|
+
low: number;
|
|
831
|
+
unsigned: boolean;
|
|
832
|
+
add: (addend: import("long/umd/types").LongLike) => Long;
|
|
833
|
+
and: (other: import("long/umd/types").LongLike) => Long;
|
|
834
|
+
compare: (other: import("long/umd/types").LongLike) => number;
|
|
835
|
+
comp: (other: import("long/umd/types").LongLike) => number;
|
|
836
|
+
divide: (divisor: import("long/umd/types").LongLike) => Long;
|
|
837
|
+
div: (divisor: import("long/umd/types").LongLike) => Long;
|
|
838
|
+
equals: (other: import("long/umd/types").LongLike) => boolean;
|
|
839
|
+
eq: (other: import("long/umd/types").LongLike) => boolean;
|
|
840
|
+
getHighBits: () => number;
|
|
841
|
+
getHighBitsUnsigned: () => number;
|
|
842
|
+
getLowBits: () => number;
|
|
843
|
+
getLowBitsUnsigned: () => number;
|
|
844
|
+
getNumBitsAbs: () => number;
|
|
845
|
+
greaterThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
846
|
+
gt: (other: import("long/umd/types").LongLike) => boolean;
|
|
847
|
+
greaterThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
848
|
+
gte: (other: import("long/umd/types").LongLike) => boolean;
|
|
849
|
+
ge: (other: import("long/umd/types").LongLike) => boolean;
|
|
850
|
+
isEven: () => boolean;
|
|
851
|
+
isNegative: () => boolean;
|
|
852
|
+
isOdd: () => boolean;
|
|
853
|
+
isPositive: () => boolean;
|
|
854
|
+
isSafeInteger: () => boolean;
|
|
855
|
+
isZero: () => boolean;
|
|
856
|
+
eqz: () => boolean;
|
|
857
|
+
lessThan: (other: import("long/umd/types").LongLike) => boolean;
|
|
858
|
+
lt: (other: import("long/umd/types").LongLike) => boolean;
|
|
859
|
+
lessThanOrEqual: (other: import("long/umd/types").LongLike) => boolean;
|
|
860
|
+
lte: (other: import("long/umd/types").LongLike) => boolean;
|
|
861
|
+
le: (other: import("long/umd/types").LongLike) => boolean;
|
|
862
|
+
modulo: (other: import("long/umd/types").LongLike) => Long;
|
|
863
|
+
mod: (other: import("long/umd/types").LongLike) => Long;
|
|
864
|
+
rem: (other: import("long/umd/types").LongLike) => Long;
|
|
865
|
+
multiply: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
866
|
+
mul: (multiplier: import("long/umd/types").LongLike) => Long;
|
|
867
|
+
negate: () => Long;
|
|
868
|
+
neg: () => Long;
|
|
869
|
+
not: () => Long;
|
|
870
|
+
countLeadingZeros: () => number;
|
|
871
|
+
clz: () => number;
|
|
872
|
+
countTrailingZeros: () => number;
|
|
873
|
+
ctz: () => number;
|
|
874
|
+
notEquals: (other: import("long/umd/types").LongLike) => boolean;
|
|
875
|
+
neq: (other: import("long/umd/types").LongLike) => boolean;
|
|
876
|
+
ne: (other: import("long/umd/types").LongLike) => boolean;
|
|
877
|
+
or: (other: import("long/umd/types").LongLike) => Long;
|
|
878
|
+
shiftLeft: (numBits: number | Long) => Long;
|
|
879
|
+
shl: (numBits: number | Long) => Long;
|
|
880
|
+
shiftRight: (numBits: number | Long) => Long;
|
|
881
|
+
shr: (numBits: number | Long) => Long;
|
|
882
|
+
shiftRightUnsigned: (numBits: number | Long) => Long;
|
|
883
|
+
shru: (numBits: number | Long) => Long;
|
|
884
|
+
shr_u: (numBits: number | Long) => Long;
|
|
885
|
+
rotateLeft: (numBits: number | Long) => Long;
|
|
886
|
+
rotl: (numBits: number | Long) => Long;
|
|
887
|
+
rotateRight: (numBits: number | Long) => Long;
|
|
888
|
+
rotr: (numBits: number | Long) => Long;
|
|
889
|
+
subtract: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
890
|
+
sub: (subtrahend: import("long/umd/types").LongLike) => Long;
|
|
891
|
+
toBigInt: () => bigint;
|
|
892
|
+
toInt: () => number;
|
|
893
|
+
toNumber: () => number;
|
|
894
|
+
toBytes: (le?: boolean) => number[];
|
|
895
|
+
toBytesLE: () => number[];
|
|
896
|
+
toBytesBE: () => number[];
|
|
897
|
+
toSigned: () => Long;
|
|
898
|
+
toString: (radix?: number) => string;
|
|
899
|
+
toUnsigned: () => Long;
|
|
900
|
+
xor: (other: import("long/umd/types").LongLike) => Long;
|
|
901
|
+
} & { [K_2 in Exclude<keyof I_1["duration"], keyof Long>]: never; });
|
|
902
|
+
} & { [K_3 in Exclude<keyof I_1, keyof WifiConnectTempInfo>]: never; }>(object: I_1): WifiConnectTempInfo;
|
|
903
|
+
};
|
|
904
|
+
export declare const WifiForgetInfo: {
|
|
905
|
+
encode(message: WifiForgetInfo, writer?: _m0.Writer): _m0.Writer;
|
|
906
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WifiForgetInfo;
|
|
907
|
+
fromJSON(object: any): WifiForgetInfo;
|
|
908
|
+
toJSON(message: WifiForgetInfo): unknown;
|
|
909
|
+
create<I extends {
|
|
910
|
+
ssid?: string;
|
|
911
|
+
} & {
|
|
912
|
+
ssid?: string;
|
|
913
|
+
} & { [K in Exclude<keyof I, "ssid">]: never; }>(base?: I): WifiForgetInfo;
|
|
914
|
+
fromPartial<I_1 extends {
|
|
915
|
+
ssid?: string;
|
|
916
|
+
} & {
|
|
917
|
+
ssid?: string;
|
|
918
|
+
} & { [K_1 in Exclude<keyof I_1, "ssid">]: never; }>(object: I_1): WifiForgetInfo;
|
|
919
|
+
};
|
|
920
|
+
export declare const WifiConfigInfo: {
|
|
921
|
+
encode(message: WifiConfigInfo, writer?: _m0.Writer): _m0.Writer;
|
|
922
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WifiConfigInfo;
|
|
923
|
+
fromJSON(object: any): WifiConfigInfo;
|
|
924
|
+
toJSON(message: WifiConfigInfo): unknown;
|
|
925
|
+
create<I extends {
|
|
926
|
+
ssid?: string;
|
|
927
|
+
password?: string;
|
|
928
|
+
keyMgmt?: KeyMgmt;
|
|
929
|
+
} & {
|
|
930
|
+
ssid?: string;
|
|
931
|
+
password?: string;
|
|
932
|
+
keyMgmt?: KeyMgmt;
|
|
933
|
+
} & { [K in Exclude<keyof I, keyof WifiConfigInfo>]: never; }>(base?: I): WifiConfigInfo;
|
|
934
|
+
fromPartial<I_1 extends {
|
|
935
|
+
ssid?: string;
|
|
936
|
+
password?: string;
|
|
937
|
+
keyMgmt?: KeyMgmt;
|
|
938
|
+
} & {
|
|
939
|
+
ssid?: string;
|
|
940
|
+
password?: string;
|
|
941
|
+
keyMgmt?: KeyMgmt;
|
|
942
|
+
} & { [K_1 in Exclude<keyof I_1, keyof WifiConfigInfo>]: never; }>(object: I_1): WifiConfigInfo;
|
|
943
|
+
};
|
|
944
|
+
export declare const WifiConnectReply: {
|
|
945
|
+
encode(message: WifiConnectReply, writer?: _m0.Writer): _m0.Writer;
|
|
946
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WifiConnectReply;
|
|
947
|
+
fromJSON(object: any): WifiConnectReply;
|
|
948
|
+
toJSON(message: WifiConnectReply): unknown;
|
|
949
|
+
create<I extends {
|
|
950
|
+
result?: WifiConnectResult;
|
|
951
|
+
} & {
|
|
952
|
+
result?: WifiConnectResult;
|
|
953
|
+
} & { [K in Exclude<keyof I, "result">]: never; }>(base?: I): WifiConnectReply;
|
|
954
|
+
fromPartial<I_1 extends {
|
|
955
|
+
result?: WifiConnectResult;
|
|
956
|
+
} & {
|
|
957
|
+
result?: WifiConnectResult;
|
|
958
|
+
} & { [K_1 in Exclude<keyof I_1, "result">]: never; }>(object: I_1): WifiConnectReply;
|
|
959
|
+
};
|
|
960
|
+
export declare const ConnectivityRequest: {
|
|
961
|
+
encode(message: ConnectivityRequest, writer?: _m0.Writer): _m0.Writer;
|
|
962
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ConnectivityRequest;
|
|
963
|
+
fromJSON(object: any): ConnectivityRequest;
|
|
964
|
+
toJSON(message: ConnectivityRequest): unknown;
|
|
965
|
+
create<I extends {
|
|
966
|
+
url?: string;
|
|
967
|
+
} & {
|
|
968
|
+
url?: string;
|
|
969
|
+
} & { [K in Exclude<keyof I, "url">]: never; }>(base?: I): ConnectivityRequest;
|
|
970
|
+
fromPartial<I_1 extends {
|
|
971
|
+
url?: string;
|
|
972
|
+
} & {
|
|
973
|
+
url?: string;
|
|
974
|
+
} & { [K_1 in Exclude<keyof I_1, "url">]: never; }>(object: I_1): ConnectivityRequest;
|
|
975
|
+
};
|
|
976
|
+
export declare const ConnectivityReply: {
|
|
977
|
+
encode(message: ConnectivityReply, writer?: _m0.Writer): _m0.Writer;
|
|
978
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ConnectivityReply;
|
|
979
|
+
fromJSON(object: any): ConnectivityReply;
|
|
980
|
+
toJSON(message: ConnectivityReply): unknown;
|
|
981
|
+
create<I extends {
|
|
982
|
+
connectivity?: ConnectivityReply_Connectivity;
|
|
983
|
+
} & {
|
|
984
|
+
connectivity?: ConnectivityReply_Connectivity;
|
|
985
|
+
} & { [K in Exclude<keyof I, "connectivity">]: never; }>(base?: I): ConnectivityReply;
|
|
986
|
+
fromPartial<I_1 extends {
|
|
987
|
+
connectivity?: ConnectivityReply_Connectivity;
|
|
988
|
+
} & {
|
|
989
|
+
connectivity?: ConnectivityReply_Connectivity;
|
|
990
|
+
} & { [K_1 in Exclude<keyof I_1, "connectivity">]: never; }>(object: I_1): ConnectivityReply;
|
|
991
|
+
};
|
|
992
|
+
export declare const GetConnectivityReply: {
|
|
993
|
+
encode(message: GetConnectivityReply, writer?: _m0.Writer): _m0.Writer;
|
|
994
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GetConnectivityReply;
|
|
995
|
+
fromJSON(object: any): GetConnectivityReply;
|
|
996
|
+
toJSON(message: GetConnectivityReply): unknown;
|
|
997
|
+
create<I extends {
|
|
998
|
+
connectivity?: GetConnectivityReply_Connectivity;
|
|
999
|
+
} & {
|
|
1000
|
+
connectivity?: GetConnectivityReply_Connectivity;
|
|
1001
|
+
} & { [K in Exclude<keyof I, "connectivity">]: never; }>(base?: I): GetConnectivityReply;
|
|
1002
|
+
fromPartial<I_1 extends {
|
|
1003
|
+
connectivity?: GetConnectivityReply_Connectivity;
|
|
1004
|
+
} & {
|
|
1005
|
+
connectivity?: GetConnectivityReply_Connectivity;
|
|
1006
|
+
} & { [K_1 in Exclude<keyof I_1, "connectivity">]: never; }>(object: I_1): GetConnectivityReply;
|
|
1007
|
+
};
|
|
1008
|
+
export declare const NmcliCallRequest: {
|
|
1009
|
+
encode(message: NmcliCallRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1010
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): NmcliCallRequest;
|
|
1011
|
+
fromJSON(object: any): NmcliCallRequest;
|
|
1012
|
+
toJSON(message: NmcliCallRequest): unknown;
|
|
1013
|
+
create<I extends {
|
|
1014
|
+
args?: string[];
|
|
1015
|
+
uploads?: {
|
|
1016
|
+
filename?: string;
|
|
1017
|
+
content?: Uint8Array;
|
|
1018
|
+
}[];
|
|
1019
|
+
} & {
|
|
1020
|
+
args?: string[] & string[] & { [K in Exclude<keyof I["args"], keyof string[]>]: never; };
|
|
1021
|
+
uploads?: {
|
|
1022
|
+
filename?: string;
|
|
1023
|
+
content?: Uint8Array;
|
|
1024
|
+
}[] & ({
|
|
1025
|
+
filename?: string;
|
|
1026
|
+
content?: Uint8Array;
|
|
1027
|
+
} & {
|
|
1028
|
+
filename?: string;
|
|
1029
|
+
content?: Uint8Array;
|
|
1030
|
+
} & { [K_1 in Exclude<keyof I["uploads"][number], keyof NmcliCallRequest_Upload>]: never; })[] & { [K_2 in Exclude<keyof I["uploads"], keyof {
|
|
1031
|
+
filename?: string;
|
|
1032
|
+
content?: Uint8Array;
|
|
1033
|
+
}[]>]: never; };
|
|
1034
|
+
} & { [K_3 in Exclude<keyof I, keyof NmcliCallRequest>]: never; }>(base?: I): NmcliCallRequest;
|
|
1035
|
+
fromPartial<I_1 extends {
|
|
1036
|
+
args?: string[];
|
|
1037
|
+
uploads?: {
|
|
1038
|
+
filename?: string;
|
|
1039
|
+
content?: Uint8Array;
|
|
1040
|
+
}[];
|
|
1041
|
+
} & {
|
|
1042
|
+
args?: string[] & string[] & { [K_4 in Exclude<keyof I_1["args"], keyof string[]>]: never; };
|
|
1043
|
+
uploads?: {
|
|
1044
|
+
filename?: string;
|
|
1045
|
+
content?: Uint8Array;
|
|
1046
|
+
}[] & ({
|
|
1047
|
+
filename?: string;
|
|
1048
|
+
content?: Uint8Array;
|
|
1049
|
+
} & {
|
|
1050
|
+
filename?: string;
|
|
1051
|
+
content?: Uint8Array;
|
|
1052
|
+
} & { [K_5 in Exclude<keyof I_1["uploads"][number], keyof NmcliCallRequest_Upload>]: never; })[] & { [K_6 in Exclude<keyof I_1["uploads"], keyof {
|
|
1053
|
+
filename?: string;
|
|
1054
|
+
content?: Uint8Array;
|
|
1055
|
+
}[]>]: never; };
|
|
1056
|
+
} & { [K_7 in Exclude<keyof I_1, keyof NmcliCallRequest>]: never; }>(object: I_1): NmcliCallRequest;
|
|
1057
|
+
};
|
|
1058
|
+
export declare const NmcliCallRequest_Upload: {
|
|
1059
|
+
encode(message: NmcliCallRequest_Upload, writer?: _m0.Writer): _m0.Writer;
|
|
1060
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): NmcliCallRequest_Upload;
|
|
1061
|
+
fromJSON(object: any): NmcliCallRequest_Upload;
|
|
1062
|
+
toJSON(message: NmcliCallRequest_Upload): unknown;
|
|
1063
|
+
create<I extends {
|
|
1064
|
+
filename?: string;
|
|
1065
|
+
content?: Uint8Array;
|
|
1066
|
+
} & {
|
|
1067
|
+
filename?: string;
|
|
1068
|
+
content?: Uint8Array;
|
|
1069
|
+
} & { [K in Exclude<keyof I, keyof NmcliCallRequest_Upload>]: never; }>(base?: I): NmcliCallRequest_Upload;
|
|
1070
|
+
fromPartial<I_1 extends {
|
|
1071
|
+
filename?: string;
|
|
1072
|
+
content?: Uint8Array;
|
|
1073
|
+
} & {
|
|
1074
|
+
filename?: string;
|
|
1075
|
+
content?: Uint8Array;
|
|
1076
|
+
} & { [K_1 in Exclude<keyof I_1, keyof NmcliCallRequest_Upload>]: never; }>(object: I_1): NmcliCallRequest_Upload;
|
|
1077
|
+
};
|
|
1078
|
+
export declare const NmcliCallReply: {
|
|
1079
|
+
encode(message: NmcliCallReply, writer?: _m0.Writer): _m0.Writer;
|
|
1080
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): NmcliCallReply;
|
|
1081
|
+
fromJSON(object: any): NmcliCallReply;
|
|
1082
|
+
toJSON(message: NmcliCallReply): unknown;
|
|
1083
|
+
create<I extends {
|
|
1084
|
+
out?: string;
|
|
1085
|
+
} & {
|
|
1086
|
+
out?: string;
|
|
1087
|
+
} & { [K in Exclude<keyof I, "out">]: never; }>(base?: I): NmcliCallReply;
|
|
1088
|
+
fromPartial<I_1 extends {
|
|
1089
|
+
out?: string;
|
|
1090
|
+
} & {
|
|
1091
|
+
out?: string;
|
|
1092
|
+
} & { [K_1 in Exclude<keyof I_1, "out">]: never; }>(object: I_1): NmcliCallReply;
|
|
1093
|
+
};
|
|
1094
|
+
export interface NetworkManager {
|
|
1095
|
+
/** 获取网络设备的状态(是否已连接,连接了哪个) */
|
|
1096
|
+
Status(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<NetworkDeviceStatusInfo>;
|
|
1097
|
+
/** Scan 扫描附近wifi热点信息,扫描结果在内部缓存里(阻塞,可能耗费数秒) */
|
|
1098
|
+
WifiScan(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
|
|
1099
|
+
/** List 列出内部缓存中的 wifi 列表 */
|
|
1100
|
+
WifiList(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<AccessPointInfoList>;
|
|
1101
|
+
/**
|
|
1102
|
+
* 连接一个 wifi 热点
|
|
1103
|
+
* 连接失败会删除已保存的配置,并自动连回上一次连接的 wifi(如果有的话),防止失联
|
|
1104
|
+
*/
|
|
1105
|
+
WifiConnect(request: DeepPartial<WifiConnectInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<WifiConnectReply>;
|
|
1106
|
+
/**
|
|
1107
|
+
* 暂时连接一个 wifi 热点
|
|
1108
|
+
* 时间到了之后会Revert回指定的 wifi 热点
|
|
1109
|
+
* 如果在上一个调用的duration时间范围内再次调用,则会取消上次调用时间到后对fallback_bssid的连接
|
|
1110
|
+
*/
|
|
1111
|
+
WifiConnectTemp(request: DeepPartial<WifiConnectTempInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<WifiConnectReply>;
|
|
1112
|
+
/** 忘记一个 wifi 热点 */
|
|
1113
|
+
WifiForget(request: DeepPartial<WifiForgetInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
|
|
1114
|
+
/** 手动添加和连接一个 wifi 热点配置(用于连接隐藏网络) */
|
|
1115
|
+
WifiConfigAdd(request: DeepPartial<WifiConfigInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<WifiConnectReply>;
|
|
1116
|
+
/** (不建议使用) nmcli networking connectivity check */
|
|
1117
|
+
GetConnectivity(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<GetConnectivityReply>;
|
|
1118
|
+
/** 自己实现的,返回格式和 nmcli networking connectivity check 一样 */
|
|
1119
|
+
Connectivity(request: DeepPartial<ConnectivityRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<ConnectivityReply>;
|
|
1120
|
+
/** 直接调用 nmcli */
|
|
1121
|
+
NmcliCall(request: DeepPartial<NmcliCallRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<NmcliCallReply>;
|
|
1122
|
+
}
|
|
1123
|
+
export declare class NetworkManagerClientImpl implements NetworkManager {
|
|
1124
|
+
private readonly rpc;
|
|
1125
|
+
constructor(rpc: Rpc);
|
|
1126
|
+
Status(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<NetworkDeviceStatusInfo>;
|
|
1127
|
+
WifiScan(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
|
|
1128
|
+
WifiList(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<AccessPointInfoList>;
|
|
1129
|
+
WifiConnect(request: DeepPartial<WifiConnectInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<WifiConnectReply>;
|
|
1130
|
+
WifiConnectTemp(request: DeepPartial<WifiConnectTempInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<WifiConnectReply>;
|
|
1131
|
+
WifiForget(request: DeepPartial<WifiForgetInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
|
|
1132
|
+
WifiConfigAdd(request: DeepPartial<WifiConfigInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<WifiConnectReply>;
|
|
1133
|
+
GetConnectivity(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<GetConnectivityReply>;
|
|
1134
|
+
Connectivity(request: DeepPartial<ConnectivityRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<ConnectivityReply>;
|
|
1135
|
+
NmcliCall(request: DeepPartial<NmcliCallRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<NmcliCallReply>;
|
|
1136
|
+
}
|
|
1137
|
+
export declare const NetworkManagerDesc: {
|
|
1138
|
+
serviceName: string;
|
|
1139
|
+
};
|
|
1140
|
+
export declare const NetworkManagerStatusDesc: UnaryMethodDefinitionish;
|
|
1141
|
+
export declare const NetworkManagerWifiScanDesc: UnaryMethodDefinitionish;
|
|
1142
|
+
export declare const NetworkManagerWifiListDesc: UnaryMethodDefinitionish;
|
|
1143
|
+
export declare const NetworkManagerWifiConnectDesc: UnaryMethodDefinitionish;
|
|
1144
|
+
export declare const NetworkManagerWifiConnectTempDesc: UnaryMethodDefinitionish;
|
|
1145
|
+
export declare const NetworkManagerWifiForgetDesc: UnaryMethodDefinitionish;
|
|
1146
|
+
export declare const NetworkManagerWifiConfigAddDesc: UnaryMethodDefinitionish;
|
|
1147
|
+
export declare const NetworkManagerGetConnectivityDesc: UnaryMethodDefinitionish;
|
|
1148
|
+
export declare const NetworkManagerConnectivityDesc: UnaryMethodDefinitionish;
|
|
1149
|
+
export declare const NetworkManagerNmcliCallDesc: UnaryMethodDefinitionish;
|
|
1150
|
+
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {
|
|
1151
|
+
requestStream: any;
|
|
1152
|
+
responseStream: any;
|
|
1153
|
+
}
|
|
1154
|
+
type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
1155
|
+
interface Rpc {
|
|
1156
|
+
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Promise<any>;
|
|
1157
|
+
}
|
|
1158
|
+
export declare class GrpcWebImpl {
|
|
1159
|
+
private host;
|
|
1160
|
+
private options;
|
|
1161
|
+
constructor(host: string, options: {
|
|
1162
|
+
transport?: grpc.TransportFactory;
|
|
1163
|
+
debug?: boolean;
|
|
1164
|
+
metadata?: grpc.Metadata;
|
|
1165
|
+
upStreamRetryCodes?: number[];
|
|
1166
|
+
});
|
|
1167
|
+
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Promise<any>;
|
|
1168
|
+
}
|
|
1169
|
+
declare const tsProtoGlobalThis: any;
|
|
1170
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1171
|
+
type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
1172
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1173
|
+
} : Partial<T>;
|
|
1174
|
+
export declare class GrpcWebError extends tsProtoGlobalThis.Error {
|
|
1175
|
+
code: grpc.Code;
|
|
1176
|
+
metadata: grpc.Metadata;
|
|
1177
|
+
constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
|
|
1178
|
+
}
|
|
1179
|
+
export {};
|