assistsx-js 0.2.2 → 0.2.4

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/index.d.mts CHANGED
@@ -768,6 +768,25 @@ declare class AppInfo {
768
768
  toJSON(): any;
769
769
  }
770
770
 
771
+ /**
772
+ * AssistsX 当前运行插件信息(由宿主拦截 getCurrentPlugin 返回)
773
+ */
774
+ declare class PluginInfo {
775
+ id: string;
776
+ name: string;
777
+ packageName: string;
778
+ versionName: string;
779
+ versionCode: number;
780
+ description: string;
781
+ path: string;
782
+ index: string;
783
+ port: number;
784
+ needScreenCapture: boolean;
785
+ constructor(id?: string, name?: string, packageName?: string, versionName?: string, versionCode?: number, description?: string, path?: string, index?: string, port?: number, needScreenCapture?: boolean);
786
+ static fromJSON(data: unknown): PluginInfo;
787
+ toJSON(): Record<string, unknown>;
788
+ }
789
+
771
790
  /**
772
791
  * 设备信息实体类
773
792
  */
@@ -941,6 +960,16 @@ declare class AssistsX {
941
960
  * @returns 是否设置成功
942
961
  */
943
962
  static setOverlayFlagList(flags: number[]): boolean;
963
+ /**
964
+ * 设置悬浮窗可获取焦点(WebView 内输入框 focus 时调用)
965
+ * @returns 是否设置成功
966
+ */
967
+ static setOverlayInputFocus(): boolean;
968
+ /**
969
+ * 取消悬浮窗焦点(WebView 内输入框 blur 时调用)
970
+ * @returns 是否设置成功
971
+ */
972
+ static clearOverlayInputFocus(): boolean;
944
973
  /**
945
974
  * 获取所有符合条件的节点
946
975
  * @param filterClass 类名过滤
@@ -1269,6 +1298,10 @@ declare class AssistsX {
1269
1298
  timeout?: number;
1270
1299
  }): Promise<boolean>;
1271
1300
  static getAppInfo(packageName: string, timeout?: number): Promise<AppInfo>;
1301
+ /**
1302
+ * 获取当前运行的 AssistsX 插件信息(仅 AssistsX 宿主有效,否则返回 null)
1303
+ */
1304
+ static getCurrentPlugin(): PluginInfo | null;
1272
1305
  static getUniqueDeviceId(): any;
1273
1306
  static getAndroidID(): any;
1274
1307
  static getMacAddress(timeout?: number): Promise<any>;
@@ -1371,6 +1404,7 @@ declare const CallMethod: {
1371
1404
  readonly performLinearGesture: "performLinearGesture";
1372
1405
  readonly longPressGestureAutoPaste: "longPressGestureAutoPaste";
1373
1406
  readonly getAppInfo: "getAppInfo";
1407
+ readonly getCurrentPlugin: "getCurrentPlugin";
1374
1408
  readonly getMacAddress: "getMacAddress";
1375
1409
  readonly getAndroidID: "getAndroidID";
1376
1410
  readonly getUniqueDeviceId: "getUniqueDeviceId";
@@ -1636,6 +1670,7 @@ declare class StepAsync {
1636
1670
  getAppScreenSize(): Promise<any>;
1637
1671
  }
1638
1672
 
1673
+ type StepData = Record<string, any>;
1639
1674
  type StepResult = Step | undefined;
1640
1675
  type StepImpl = (step: Step) => Promise<StepResult>;
1641
1676
  type StepInterceptor = (step: Step) => StepResult | Promise<StepResult>;
@@ -1645,6 +1680,14 @@ declare class Step {
1645
1680
  static repeatCountMaxDefault: number;
1646
1681
  static showLog: boolean;
1647
1682
  static exceptionRetryCountMaxDefault: number;
1683
+ /**
1684
+ * 判断步骤数据是否有效(非空且为普通对象)
1685
+ */
1686
+ private static isValidStepData;
1687
+ /**
1688
+ * 解析步骤数据:优先使用传入值,否则使用当前值,均无效时返回空对象
1689
+ */
1690
+ private static resolveStepData;
1648
1691
  /**
1649
1692
  * 当前执行步骤的ID
1650
1693
  */
@@ -1667,7 +1710,7 @@ declare class Step {
1667
1710
  static run(impl: StepImpl, { stepId, tag, data, delayMs, exceptionRetryCountMax, }?: {
1668
1711
  stepId?: string | undefined;
1669
1712
  tag?: string | undefined;
1670
- data?: any | undefined;
1713
+ data?: StepData;
1671
1714
  delayMs?: number;
1672
1715
  exceptionRetryCountMax?: number;
1673
1716
  }): Promise<Step | undefined>;
@@ -1757,7 +1800,7 @@ declare class Step {
1757
1800
  /**
1758
1801
  * 步骤数据
1759
1802
  */
1760
- data: any | undefined;
1803
+ data: StepData;
1761
1804
  /**
1762
1805
  * 步骤延迟时间(毫秒)
1763
1806
  */
@@ -1778,7 +1821,7 @@ declare class Step {
1778
1821
  stepId: string;
1779
1822
  impl: StepImpl | undefined;
1780
1823
  tag?: string | undefined;
1781
- data?: any | undefined;
1824
+ data?: StepData;
1782
1825
  delayMs?: number;
1783
1826
  repeatCountMax?: number;
1784
1827
  exceptionRetryCountMax?: number;
@@ -1795,14 +1838,14 @@ declare class Step {
1795
1838
  */
1796
1839
  next(impl: StepImpl, { tag, data, delayMs, repeatCountMax, exceptionRetryCountMax, }?: {
1797
1840
  tag?: string | undefined;
1798
- data?: any | undefined;
1841
+ data?: StepData;
1799
1842
  delayMs?: number;
1800
1843
  repeatCountMax?: number;
1801
1844
  exceptionRetryCountMax?: number;
1802
1845
  }): Step;
1803
1846
  end({ tag, data, delayMs, repeatCountMax, exceptionRetryCountMax, }?: {
1804
1847
  tag?: string | undefined;
1805
- data?: any | undefined;
1848
+ data?: StepData;
1806
1849
  delayMs?: number;
1807
1850
  repeatCountMax?: number;
1808
1851
  exceptionRetryCountMax?: number;
@@ -1818,7 +1861,7 @@ declare class Step {
1818
1861
  repeat({ stepId, tag, data, delayMs, repeatCountMax, exceptionRetryCountMax, }?: {
1819
1862
  stepId?: string;
1820
1863
  tag?: string | undefined;
1821
- data?: any | undefined;
1864
+ data?: StepData;
1822
1865
  delayMs?: number;
1823
1866
  repeatCountMax?: number;
1824
1867
  exceptionRetryCountMax?: number;
@@ -2012,6 +2055,8 @@ declare const useStepStore: pinia.StoreDefinition<"step", StepState, {}, {
2012
2055
  reset(): void;
2013
2056
  }>;
2014
2057
 
2058
+ declare function ensureAssistsXPinia(): void;
2059
+
2015
2060
  /**
2016
2061
  * 窗口标志位常量类
2017
2062
  * 定义了各种窗口行为和属性的标志位
@@ -2076,6 +2121,10 @@ declare class WindowFlags {
2076
2121
  * @returns 新的标志位组合
2077
2122
  */
2078
2123
  static removeFlag(flags: number, flag: number): number;
2124
+ /** 输入框获取焦点时使用的悬浮窗 flag 组合(不含 FLAG_NOT_FOCUSABLE) */
2125
+ static getOverlayInputFocusFlagList(): number[];
2126
+ /** 输入框失去焦点时使用的悬浮窗 flag 组合(含 FLAG_NOT_FOCUSABLE) */
2127
+ static getOverlayInputBlurFlagList(): number[];
2079
2128
  /**
2080
2129
  * 获取所有标志位的描述信息
2081
2130
  * @returns 标志位描述对象数组
@@ -2157,6 +2206,14 @@ declare class AssistsXAsync {
2157
2206
  * @returns 是否设置成功
2158
2207
  */
2159
2208
  static setOverlayFlagList(flags: number[], timeout?: number): Promise<boolean>;
2209
+ /**
2210
+ * 设置悬浮窗可获取焦点(WebView 内输入框 focus 时调用)
2211
+ */
2212
+ static setOverlayInputFocus(timeout?: number): Promise<boolean>;
2213
+ /**
2214
+ * 取消悬浮窗焦点(WebView 内输入框 blur 时调用)
2215
+ */
2216
+ static clearOverlayInputFocus(timeout?: number): Promise<boolean>;
2160
2217
  /**
2161
2218
  * 获取所有符合条件的节点
2162
2219
  * @param filterClass 类名过滤
@@ -2555,6 +2612,10 @@ declare class AssistsXAsync {
2555
2612
  timeout?: number;
2556
2613
  }): Promise<boolean>;
2557
2614
  static getAppInfo(packageName: string, timeout?: number): Promise<AppInfo>;
2615
+ /**
2616
+ * 获取当前运行的 AssistsX 插件信息(仅 AssistsX 宿主有效,否则返回 null)
2617
+ */
2618
+ static getCurrentPlugin(timeout?: number): Promise<PluginInfo | null>;
2558
2619
  static getUniqueDeviceId(timeout?: number): Promise<any>;
2559
2620
  static getAndroidID(timeout?: number): Promise<any>;
2560
2621
  static getMacAddress(timeout?: number): Promise<any>;
@@ -4066,6 +4127,134 @@ declare const MlkitCallMethod: {
4066
4127
  };
4067
4128
  type MlkitCallMethodType = (typeof MlkitCallMethod)[keyof typeof MlkitCallMethod];
4068
4129
 
4130
+ type ScreenshotImageFormat = "PNG" | "JPEG" | "JPG" | "WEBP";
4131
+ /** takeScreenshotBase64 / takeNodeScreenshotBase64 返回数据 */
4132
+ interface ScreenshotBase64Data {
4133
+ base64: string;
4134
+ dataUrl: string;
4135
+ mimeType: string;
4136
+ }
4137
+ interface TakeScreenshotBase64Options {
4138
+ overlayHiddenScreenshotDelayMillis?: number;
4139
+ format?: ScreenshotImageFormat;
4140
+ withDataUrlPrefix?: boolean;
4141
+ timeout?: number;
4142
+ }
4143
+ interface TakeScreenshotNodesBase64Options extends TakeScreenshotBase64Options {
4144
+ }
4145
+ declare class Screenshot {
4146
+ /**
4147
+ * 执行异步调用
4148
+ */
4149
+ private asyncCall;
4150
+ private buildScreenshotArgs;
4151
+ /**
4152
+ * 截取全屏并返回 Base64
4153
+ */
4154
+ takeScreenshotBase64(options?: TakeScreenshotBase64Options): Promise<ScreenshotBase64Data | null>;
4155
+ /**
4156
+ * 截取指定节点区域并返回 Base64
4157
+ */
4158
+ takeNodeScreenshotBase64(nodeId: string, options?: TakeScreenshotBase64Options): Promise<ScreenshotBase64Data | null>;
4159
+ /**
4160
+ * 批量截取节点区域;nodeIds 为空时返回全屏截图
4161
+ */
4162
+ takeScreenshotNodesBase64(nodeIds?: string[], options?: TakeScreenshotNodesBase64Options): Promise<string[]>;
4163
+ }
4164
+ declare const screenshot: Screenshot;
4165
+
4166
+ /**
4167
+ * 截图相关的 JavascriptInterface 方法常量
4168
+ */
4169
+ declare const ScreenshotCallMethod: {
4170
+ /** 截取全屏并返回 Base64 */
4171
+ readonly takeScreenshotBase64: "takeScreenshotBase64";
4172
+ /** 截取指定节点区域并返回 Base64,需传 node.nodeId */
4173
+ readonly takeNodeScreenshotBase64: "takeNodeScreenshotBase64";
4174
+ /** 批量截取节点区域并返回 Base64 数组,nodes 为空时返回全屏 */
4175
+ readonly takeScreenshotNodesBase64: "takeScreenshotNodesBase64";
4176
+ };
4177
+ type ScreenshotCallMethodType = (typeof ScreenshotCallMethod)[keyof typeof ScreenshotCallMethod];
4178
+
4179
+ /** 数据库定位,dbPath 与 dbName 二选一 */
4180
+ interface DbTarget {
4181
+ dbPath?: string;
4182
+ dbName?: string;
4183
+ }
4184
+ /** exec 成功返回 */
4185
+ interface DbExecResult {
4186
+ rowsAffected: number;
4187
+ lastInsertRowId: number;
4188
+ }
4189
+ /** query 单行记录;BLOB 字段为 Base64 字符串 */
4190
+ type DbRow = Record<string, string | number | null>;
4191
+ /** query 成功返回 */
4192
+ interface DbQueryResult {
4193
+ columns: string[];
4194
+ rows: DbRow[];
4195
+ rowCount: number;
4196
+ }
4197
+ /** execBatch 单条结果 */
4198
+ interface DbBatchItemResult {
4199
+ rowsAffected: number;
4200
+ lastInsertRowId: number;
4201
+ }
4202
+ /** execBatch 成功返回 */
4203
+ interface DbExecBatchResult {
4204
+ count: number;
4205
+ results: DbBatchItemResult[];
4206
+ }
4207
+ /** 公共调用选项 */
4208
+ interface DbCallOptions extends DbTarget {
4209
+ bindArgs?: (string | number | boolean | null)[];
4210
+ /** 超时时间(秒),默认 30 */
4211
+ timeout?: number;
4212
+ }
4213
+ interface DbExecBatchOptions extends DbTarget {
4214
+ /** 超时时间(秒),默认 30 */
4215
+ timeout?: number;
4216
+ }
4217
+ declare class Db {
4218
+ /**
4219
+ * 执行异步调用
4220
+ */
4221
+ private asyncCall;
4222
+ /**
4223
+ * 将 query 结果中的 Base64 BLOB 字段解码为 Uint8Array
4224
+ */
4225
+ decodeBlobBase64(base64: string): Uint8Array;
4226
+ /**
4227
+ * 执行非查询 SQL
4228
+ */
4229
+ exec(sql: string, options: DbCallOptions): Promise<DbExecResult>;
4230
+ /**
4231
+ * 执行查询 SQL
4232
+ */
4233
+ query(sql: string, options: DbCallOptions): Promise<DbQueryResult>;
4234
+ /**
4235
+ * 事务内批量执行多条 SQL
4236
+ */
4237
+ execBatch(statements: string[], options: DbExecBatchOptions): Promise<DbExecBatchResult>;
4238
+ /**
4239
+ * 关闭并释放指定数据库连接
4240
+ */
4241
+ close(options: DbTarget & {
4242
+ timeout?: number;
4243
+ }): Promise<void>;
4244
+ }
4245
+ declare const db: Db;
4246
+
4247
+ /**
4248
+ * SQLite 数据库桥接方法名常量
4249
+ */
4250
+ declare const DbCallMethod: {
4251
+ readonly exec: "exec";
4252
+ readonly query: "query";
4253
+ readonly execBatch: "execBatch";
4254
+ readonly close: "close";
4255
+ };
4256
+ type DbCallMethodType = (typeof DbCallMethod)[keyof typeof DbCallMethod];
4257
+
4069
4258
  declare class BarUtils {
4070
4259
  private asyncCall;
4071
4260
  private errorMessage;
@@ -4197,6 +4386,8 @@ declare const LogCallMethod: {
4197
4386
  readonly uploadLogs: "uploadLogs";
4198
4387
  /** 获取日志服务当前域名(origin,无路径;与上传、管理后台同源),对应 AssistsLogDiagnostics.adminWebBaseUrl() */
4199
4388
  readonly getLogServiceBaseUrl: "getLogServiceBaseUrl";
4389
+ /** 解析日志文件绝对路径(不创建文件) */
4390
+ readonly resolveLogPath: "resolveLogPath";
4200
4391
  };
4201
4392
  /** 与 ASWebView / AssistsLogJavascriptInterface companion 对齐 */
4202
4393
  declare const LogStream: {
@@ -4206,6 +4397,15 @@ declare const LogStream: {
4206
4397
  type LogStreamType = (typeof LogStream)[keyof typeof LogStream];
4207
4398
  type LogCallMethodType = (typeof LogCallMethod)[keyof typeof LogCallMethod];
4208
4399
 
4400
+ /** 日志文件定位:dirPath 为绝对路径目录,fileName 不含 .txt 后缀 */
4401
+ interface LogTarget {
4402
+ dirPath?: string;
4403
+ fileName?: string;
4404
+ }
4405
+ interface LogCallOptions extends LogTarget {
4406
+ /** 超时时间(秒),默认 30 */
4407
+ timeout?: number;
4408
+ }
4209
4409
  /**
4210
4410
  * onAssistsLogUpdate 推送的监听器列表(与 accessibilityEventListeners 风格一致)。
4211
4411
  * 在页面加载本模块后,向此数组 push,或使用 log.addLogUpdateListener。
@@ -4213,7 +4413,7 @@ type LogCallMethodType = (typeof LogCallMethod)[keyof typeof LogCallMethod];
4213
4413
  */
4214
4414
  declare const logUpdateListeners: Array<(payload: LogUpdateEvent) => void>;
4215
4415
  /**
4216
- * Base64 解码后的 CallResponse,data 含 stream / text
4416
+ * Base64 解码后的 CallResponse,data 含 stream / text / logFilePath
4217
4417
  */
4218
4418
  interface LogUpdateEvent {
4219
4419
  code: number;
@@ -4224,13 +4424,15 @@ interface LogUpdateEvent {
4224
4424
  interface LogUpdateData {
4225
4425
  stream: LogStreamType;
4226
4426
  text: string;
4427
+ logFilePath?: string;
4227
4428
  }
4228
4429
  interface LogSubscribeUpdatePayload {
4229
4430
  text: string;
4230
4431
  stream: string;
4231
4432
  subscriptionId: string;
4433
+ logFilePath?: string;
4232
4434
  }
4233
- interface LogUploadOptions {
4435
+ interface LogUploadOptions extends LogTarget {
4234
4436
  baseUrl?: string;
4235
4437
  /** PNG(默认)| JPEG | JPG | WEBP */
4236
4438
  format?: "PNG" | "JPEG" | "JPG" | "WEBP" | string;
@@ -4255,29 +4457,45 @@ declare class Log {
4255
4457
  private getBridge;
4256
4458
  private asyncCall;
4257
4459
  /** 读取当前日志全文 */
4258
- readAllText(timeout?: number): Promise<string>;
4460
+ readAllText(timeoutOrOptions?: number | LogCallOptions): Promise<string>;
4259
4461
  /**
4260
4462
  * 获取日志服务当前域名(origin,无路径;与上传、管理后台同源)。
4261
4463
  * 与 Kotlin getLogServiceBaseUrl / adminWebBaseUrl 对齐。
4262
4464
  */
4263
4465
  getLogServiceBaseUrl(timeout?: number): Promise<string>;
4466
+ /**
4467
+ * 解析日志文件绝对路径(不创建文件)。
4468
+ * AssistsX 插件环境下会经原生拦截追加 log-{packageName} 子目录。
4469
+ */
4470
+ resolveLogPath(targetOrOptions?: LogTarget | LogCallOptions): Promise<string>;
4264
4471
  /** 清空日志 */
4265
- clear(timeout?: number): Promise<boolean>;
4472
+ clear(timeoutOrOptions?: number | LogCallOptions): Promise<boolean>;
4266
4473
  /** 从文件重新加载到内存 Flow */
4267
- refreshFromFile(timeout?: number): Promise<boolean>;
4474
+ refreshFromFile(timeoutOrOptions?: number | LogCallOptions): Promise<boolean>;
4268
4475
  /** 追加一行 */
4269
- appendLine(line: string, maxLength?: number, timeout?: number): Promise<boolean>;
4476
+ appendLine(line: string, maxLengthOrOptions?: number | (LogTarget & {
4477
+ maxLength?: number;
4478
+ timeout?: number;
4479
+ }), timeout?: number): Promise<boolean>;
4270
4480
  /** 追加带时间戳的条目 */
4271
- appendTimestampedEntry(message: string, timeout?: number): Promise<boolean>;
4481
+ appendTimestampedEntry(message: string, timeoutOrOptions?: number | LogCallOptions): Promise<boolean>;
4482
+ /**
4483
+ * 追加日志(appendTimestampedEntry / appendLine 简写)。
4484
+ * 默认带时间戳;`timestamped: false` 时走 appendLine。
4485
+ */
4486
+ append(text: string, options?: LogTarget & {
4487
+ /** @default true */
4488
+ timestamped?: boolean;
4489
+ maxLength?: number;
4490
+ timeout?: number;
4491
+ }): Promise<boolean>;
4272
4492
  /** 替换全部内容 */
4273
- replaceAll(content: string, timeout?: number): Promise<boolean>;
4493
+ replaceAll(content: string, timeoutOrOptions?: number | LogCallOptions): Promise<boolean>;
4274
4494
  /**
4275
4495
  * 订阅 Flow:先收到 subscribed,再多次 update。
4276
4496
  * resolve 后请保留 dispose 或调用 unsubscribe(subscriptionId) 以释放原生协程与 JS 回调。
4277
4497
  */
4278
- subscribe(stream: LogStreamType, onUpdate: (payload: LogSubscribeUpdatePayload) => void, options?: {
4279
- timeout?: number;
4280
- }): Promise<{
4498
+ subscribe(stream: LogStreamType, onUpdate: (payload: LogSubscribeUpdatePayload) => void, options?: LogCallOptions): Promise<{
4281
4499
  subscriptionId: string;
4282
4500
  dispose: () => Promise<void>;
4283
4501
  }>;
@@ -4299,4 +4517,4 @@ declare class Log {
4299
4517
  /** 默认单例,用法与 floatingwindow 模块导出的 float 一致 */
4300
4518
  declare const log: Log;
4301
4519
 
4302
- export { type AccessibilityEvent, type AccessibilityEventData, AccessibilityEventFilter, type AccessibilityEventFilterConfig, type AccessibilityEventListener, AppInfo, AssistsX, AssistsXAsync, BarUtils, BarUtilsCallMethod, type BarUtilsCallMethodType, Bounds, CallMethod, type CallMethodType, CallResponse, type Contact, DeviceInfo, FileIO, type FileInfo, type FileListItem, type FileUploadInfo, FileUtils, Float, FloatCallMethod, type FloatCallMethodType, Gallery, type GalleryDeleteResponse, type GalleryResponse, Http, type HttpConfig, type HttpDownloadResponse, type HttpResponse, type ImageProcessResult, type ImageRotateDegree, type ImageSaveResult, type ImageSize, type ImageType, ImageUtils, Ime, ImeAction, type IsCurrentInputMethodResponse, type IsInputMethodEnabledResponse, Log, LogCallMethod, type LogCallMethodType, LogStream, type LogStreamType, type LogSubscribeUpdatePayload, type LogUpdateData, type LogUpdateEvent, type LogUploadOptions, type LogUploadResult, Mlkit, MlkitCallMethod, type MlkitCallMethodType, type MlkitRegion, NODE_LOOKUP_SCOPE_ACTIVE_WINDOW, NODE_LOOKUP_SCOPE_ALL_WINDOWS, Node, NodeAsync, NodeClassValue, type NodeLookupScope, type OpenInputMethodSettingsResponse, Path, type PerformEditorActionResponse, type RecognizeTextInScreenshotPosition, type RecognizeTextInScreenshotResult, type RecognizeTextRegion, type Screen, type ScreenTextJsonResult, type ScreenTextRecognitionResult, Step, StepAsync, StepError, type StepImpl, type StepInterceptor, type StepResult, type StepState, type StepStatus, StepStopError, type TextPosition, type WebFloatingWindowOptions, WindowFlags, accessibilityEventListeners, barUtils, callbacks, decodeBase64UTF8, fileIO, fileUtils, float, gallery, generateUUID, http, imageUtils, ime, log, logUpdateListeners, mlkit, pathUtils, screen, sleep, useStepStore };
4520
+ export { type AccessibilityEvent, type AccessibilityEventData, AccessibilityEventFilter, type AccessibilityEventFilterConfig, type AccessibilityEventListener, AppInfo, AssistsX, AssistsXAsync, BarUtils, BarUtilsCallMethod, type BarUtilsCallMethodType, Bounds, CallMethod, type CallMethodType, CallResponse, type Contact, Db, type DbBatchItemResult, DbCallMethod, type DbCallMethodType, type DbCallOptions, type DbExecBatchOptions, type DbExecBatchResult, type DbExecResult, type DbQueryResult, type DbRow, type DbTarget, DeviceInfo, FileIO, type FileInfo, type FileListItem, type FileUploadInfo, FileUtils, Float, FloatCallMethod, type FloatCallMethodType, Gallery, type GalleryDeleteResponse, type GalleryResponse, Http, type HttpConfig, type HttpDownloadResponse, type HttpResponse, type ImageProcessResult, type ImageRotateDegree, type ImageSaveResult, type ImageSize, type ImageType, ImageUtils, Ime, ImeAction, type IsCurrentInputMethodResponse, type IsInputMethodEnabledResponse, Log, LogCallMethod, type LogCallMethodType, type LogCallOptions, LogStream, type LogStreamType, type LogSubscribeUpdatePayload, type LogTarget, type LogUpdateData, type LogUpdateEvent, type LogUploadOptions, type LogUploadResult, Mlkit, MlkitCallMethod, type MlkitCallMethodType, type MlkitRegion, NODE_LOOKUP_SCOPE_ACTIVE_WINDOW, NODE_LOOKUP_SCOPE_ALL_WINDOWS, Node, NodeAsync, NodeClassValue, type NodeLookupScope, type OpenInputMethodSettingsResponse, Path, type PerformEditorActionResponse, PluginInfo, type RecognizeTextInScreenshotPosition, type RecognizeTextInScreenshotResult, type RecognizeTextRegion, type Screen, type ScreenTextJsonResult, type ScreenTextRecognitionResult, Screenshot, type ScreenshotBase64Data, ScreenshotCallMethod, type ScreenshotCallMethodType, type ScreenshotImageFormat, Step, StepAsync, type StepData, StepError, type StepImpl, type StepInterceptor, type StepResult, type StepState, type StepStatus, StepStopError, type TakeScreenshotBase64Options, type TakeScreenshotNodesBase64Options, type TextPosition, type WebFloatingWindowOptions, WindowFlags, accessibilityEventListeners, barUtils, callbacks, db, decodeBase64UTF8, ensureAssistsXPinia, fileIO, fileUtils, float, gallery, generateUUID, http, imageUtils, ime, log, logUpdateListeners, mlkit, pathUtils, screen, screenshot, sleep, useStepStore };