appium-adb 14.0.4 → 14.0.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [14.0.5](https://github.com/appium/appium-adb/compare/v14.0.4...v14.0.5) (2025-12-04)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * Migrate app commands to typescript ([#843](https://github.com/appium/appium-adb/issues/843)) ([8993e7c](https://github.com/appium/appium-adb/commit/8993e7c5fcbabda3796b8246ecac39046bf6fe3f))
6
+
1
7
  ## [14.0.4](https://github.com/appium/appium-adb/compare/v14.0.3...v14.0.4) (2025-12-04)
2
8
 
3
9
  ### Miscellaneous Chores
@@ -1,257 +1,237 @@
1
+ import type { ADB } from '../adb.js';
2
+ import type { StringRecord, InstallState, ResolveActivityOptions, IsAppInstalledOptions, StartUriOptions, StartAppOptions, AppInfo, PackageActivityInfo } from './types.js';
3
+ export declare const APP_INSTALL_STATE: StringRecord<InstallState>;
1
4
  /**
2
5
  * Verify whether the given argument is a
3
6
  * valid class name.
4
7
  *
5
- * @this {import('../adb.js').ADB}
6
- * @param {string} classString - The actual class name to be verified.
7
- * @return {boolean} The result of Regexp.exec operation
8
+ * @param classString - The actual class name to be verified.
9
+ * @returns The result of Regexp.exec operation
8
10
  * or _null_ if no matches are found.
9
11
  */
10
- export function isValidClass(this: import("../adb.js").ADB, classString: string): boolean;
12
+ export declare function isValidClass(this: ADB, classString: string): boolean;
11
13
  /**
12
14
  * Fetches the fully qualified name of the launchable activity for the
13
15
  * given package. It is expected the package is already installed on
14
16
  * the device under test.
15
17
  *
16
- * @this {import('../adb.js').ADB}
17
- * @param {string} pkg - The target package identifier
18
- * @param {import('./types').ResolveActivityOptions} opts
19
- * @return {Promise<string>} Fully qualified name of the launchable activity
18
+ * @param pkg - The target package identifier
19
+ * @param opts - Options for resolving the activity
20
+ * @returns Fully qualified name of the launchable activity
20
21
  * @throws {Error} If there was an error while resolving the activity name
21
22
  */
22
- export function resolveLaunchableActivity(this: import("../adb.js").ADB, pkg: string, opts?: import("./types").ResolveActivityOptions): Promise<string>;
23
+ export declare function resolveLaunchableActivity(this: ADB, pkg: string, opts?: ResolveActivityOptions): Promise<string>;
23
24
  /**
24
25
  * Forcefully stops the app and puts it in the "stopped" state.
25
- * Android treats a stopped app as if it was never launched since boot:
26
+ * Android treats a "stopped" app as if it was never launched since boot:
26
27
  * - It cannot receive broadcast intents (except for explicit ones).
27
28
  * - Scheduled jobs, alarms, and services are cancelled.
28
- * - The app wont restart until the user explicitly launches it again.
29
- * Its the same as when a user swipes an app away from Settings → Apps → Force Stop.
29
+ * - The app won't restart until the user explicitly launches it again.
30
+ * It's the same as when a user swipes an app away from Settings → Apps → Force Stop.
30
31
  *
31
- * @this {import('../adb.js').ADB}
32
- * @param {string} pkg - The package name to be stopped.
33
- * @return {Promise<string>} The output of the corresponding adb command.
32
+ * @param pkg - The package name to be stopped.
33
+ * @returns The output of the corresponding adb command.
34
34
  */
35
- export function forceStop(this: import("../adb.js").ADB, pkg: string): Promise<string>;
35
+ export declare function forceStop(this: ADB, pkg: string): Promise<string>;
36
36
  /**
37
- * Gracefully kills the apps process, similar to how Android would do it
37
+ * Gracefully kills the app's process, similar to how Android would do it
38
38
  * automatically when low on memory.
39
- * It only kills the process, without changing the apps stopped state.
39
+ * It only kills the process, without changing the app's "stopped" state.
40
40
  * Background services or broadcast receivers may restart soon after,
41
41
  * if they are still scheduled or registered.
42
42
  * No data or state (like alarms, jobs, etc.) are cleared.
43
43
  *
44
- * @this {import('../adb.js').ADB}
45
- * @param {string} pkg - The package name to be stopped.
46
- * @return {Promise<string>} The output of the corresponding adb command.
44
+ * @param pkg - The package name to be stopped.
45
+ * @returns The output of the corresponding adb command.
47
46
  */
48
- export function killPackage(this: import("../adb.js").ADB, pkg: string): Promise<string>;
47
+ export declare function killPackage(this: ADB, pkg: string): Promise<string>;
49
48
  /**
50
49
  * Clear the user data of the particular application on the device
51
50
  * under test.
52
51
  *
53
- * @this {import('../adb.js').ADB}
54
- * @param {string} pkg - The package name to be cleared.
55
- * @return {Promise<string>} The output of the corresponding adb command.
52
+ * @param pkg - The package name to be cleared.
53
+ * @returns The output of the corresponding adb command.
56
54
  */
57
- export function clear(this: import("../adb.js").ADB, pkg: string): Promise<string>;
55
+ export declare function clear(this: ADB, pkg: string): Promise<string>;
58
56
  /**
59
57
  * Grant all permissions requested by the particular package.
60
58
  * This method is only useful on Android 6.0+ and for applications
61
59
  * that support components-based permissions setting.
62
60
  *
63
- * @this {import('../adb.js').ADB}
64
- * @param {string} pkg - The package name to be processed.
65
- * @param {string} [apk] - The path to the actual apk file.
61
+ * @param pkg - The package name to be processed.
62
+ * @param apk - The path to the actual apk file.
66
63
  * @throws {Error} If there was an error while granting permissions
67
64
  */
68
- export function grantAllPermissions(this: import("../adb.js").ADB, pkg: string, apk?: string): Promise<void>;
65
+ export declare function grantAllPermissions(this: ADB, pkg: string, apk?: string): Promise<void>;
69
66
  /**
70
67
  * Grant multiple permissions for the particular package.
71
68
  * This call is more performant than `grantPermission` one, since it combines
72
69
  * multiple `adb shell` calls into a single command.
73
70
  *
74
- * @this {import('../adb.js').ADB}
75
- * @param {string} pkg - The package name to be processed.
76
- * @param {Array<string>} permissions - The list of permissions to be granted.
71
+ * @param pkg - The package name to be processed.
72
+ * @param permissions - The list of permissions to be granted.
77
73
  * @throws {Error} If there was an error while changing permissions.
78
74
  */
79
- export function grantPermissions(this: import("../adb.js").ADB, pkg: string, permissions: Array<string>): Promise<void>;
75
+ export declare function grantPermissions(this: ADB, pkg: string, permissions: string[]): Promise<void>;
80
76
  /**
81
77
  * Grant single permission for the particular package.
82
78
  *
83
- * @this {import('../adb.js').ADB}
84
- * @param {string} pkg - The package name to be processed.
85
- * @param {string} permission - The full name of the permission to be granted.
79
+ * @param pkg - The package name to be processed.
80
+ * @param permission - The full name of the permission to be granted.
86
81
  * @throws {Error} If there was an error while changing permissions.
87
82
  */
88
- export function grantPermission(this: import("../adb.js").ADB, pkg: string, permission: string): Promise<void>;
83
+ export declare function grantPermission(this: ADB, pkg: string, permission: string): Promise<void>;
89
84
  /**
90
85
  * Revoke single permission from the particular package.
91
86
  *
92
- * @this {import('../adb.js').ADB}
93
- * @param {string} pkg - The package name to be processed.
94
- * @param {string} permission - The full name of the permission to be revoked.
87
+ * @param pkg - The package name to be processed.
88
+ * @param permission - The full name of the permission to be revoked.
95
89
  * @throws {Error} If there was an error while changing permissions.
96
90
  */
97
- export function revokePermission(this: import("../adb.js").ADB, pkg: string, permission: string): Promise<void>;
91
+ export declare function revokePermission(this: ADB, pkg: string, permission: string): Promise<void>;
98
92
  /**
99
93
  * Retrieve the list of granted permissions for the particular package.
100
94
  *
101
- * @this {import('../adb.js').ADB}
102
- * @param {string} pkg - The package name to be processed.
103
- * @param {string?} [cmdOutput=null] - Optional parameter containing command output of
95
+ * @param pkg - The package name to be processed.
96
+ * @param cmdOutput - Optional parameter containing command output of
104
97
  * _dumpsys package_ command. It may speed up the method execution.
105
- * @return {Promise<string[]>} The list of granted permissions or an empty list.
98
+ * @returns The list of granted permissions or an empty list.
106
99
  * @throws {Error} If there was an error while changing permissions.
107
100
  */
108
- export function getGrantedPermissions(this: import("../adb.js").ADB, pkg: string, cmdOutput?: string | null): Promise<string[]>;
101
+ export declare function getGrantedPermissions(this: ADB, pkg: string, cmdOutput?: string | null): Promise<string[]>;
109
102
  /**
110
103
  * Retrieve the list of denied permissions for the particular package.
111
104
  *
112
- * @this {import('../adb.js').ADB}
113
- * @param {string} pkg - The package name to be processed.
114
- * @param {string?} [cmdOutput=null] - Optional parameter containing command output of
105
+ * @param pkg - The package name to be processed.
106
+ * @param cmdOutput - Optional parameter containing command output of
115
107
  * _dumpsys package_ command. It may speed up the method execution.
116
- * @return {Promise<string[]>} The list of denied permissions or an empty list.
108
+ * @returns The list of denied permissions or an empty list.
117
109
  */
118
- export function getDeniedPermissions(this: import("../adb.js").ADB, pkg: string, cmdOutput?: string | null): Promise<string[]>;
110
+ export declare function getDeniedPermissions(this: ADB, pkg: string, cmdOutput?: string | null): Promise<string[]>;
119
111
  /**
120
112
  * Retrieve the list of requested permissions for the particular package.
121
113
  *
122
- * @this {import('../adb.js').ADB}
123
- * @param {string} pkg - The package name to be processed.
124
- * @param {string?} [cmdOutput=null] - Optional parameter containing command output of
114
+ * @param pkg - The package name to be processed.
115
+ * @param cmdOutput - Optional parameter containing command output of
125
116
  * _dumpsys package_ command. It may speed up the method execution.
126
- * @return {Promise<string[]>} The list of requested permissions or an empty list.
117
+ * @returns The list of requested permissions or an empty list.
127
118
  */
128
- export function getReqPermissions(this: import("../adb.js").ADB, pkg: string, cmdOutput?: string | null): Promise<string[]>;
119
+ export declare function getReqPermissions(this: ADB, pkg: string, cmdOutput?: string | null): Promise<string[]>;
129
120
  /**
130
121
  * Stop the particular package if it is running and clears its application data.
131
122
  *
132
- * @this {import('../adb.js').ADB}
133
- * @param {string} pkg - The package name to be processed.
123
+ * @param pkg - The package name to be processed.
134
124
  */
135
- export function stopAndClear(this: import("../adb.js").ADB, pkg: string): Promise<void>;
125
+ export declare function stopAndClear(this: ADB, pkg: string): Promise<void>;
136
126
  /**
137
127
  * Get the package info from the installed application.
138
128
  *
139
- * @this {import('../adb.js').ADB}
140
- * @param {string} pkg - The name of the installed package.
141
- * @return {Promise<import('./types').AppInfo>} The parsed application information.
129
+ * @param pkg - The name of the installed package.
130
+ * @returns The parsed application information.
142
131
  */
143
- export function getPackageInfo(this: import("../adb.js").ADB, pkg: string): Promise<import("./types").AppInfo>;
132
+ export declare function getPackageInfo(this: ADB, pkg: string): Promise<AppInfo>;
144
133
  /**
145
134
  * Fetches base.apk of the given package to the local file system
146
135
  *
147
- * @this {import('../adb.js').ADB}
148
- * @param {string} pkg The package identifier (must be already installed on the device)
149
- * @param {string} tmpDir The destination folder path
150
- * @returns {Promise<string>} Full path to the downloaded file
136
+ * @param pkg - The package identifier (must be already installed on the device)
137
+ * @param tmpDir - The destination folder path
138
+ * @returns Full path to the downloaded file
151
139
  * @throws {Error} If there was an error while fetching the .apk
152
140
  */
153
- export function pullApk(this: import("../adb.js").ADB, pkg: string, tmpDir: string): Promise<string>;
141
+ export declare function pullApk(this: ADB, pkg: string, tmpDir: string): Promise<string>;
154
142
  /**
155
143
  * Activates the given application or launches it if necessary.
156
144
  * The action literally simulates
157
145
  * clicking the corresponding application icon on the dashboard.
158
146
  *
159
- * @this {import('../adb.js').ADB}
160
- * @param {string} appId - Application package identifier
147
+ * @param appId - Application package identifier
161
148
  * @throws {Error} If the app cannot be activated
162
149
  */
163
- export function activateApp(this: import("../adb.js").ADB, appId: string): Promise<void>;
150
+ export declare function activateApp(this: ADB, appId: string): Promise<void>;
164
151
  /**
165
152
  * Check whether the particular package is present on the device under test.
166
153
  *
167
- * @this {import('../adb.js').ADB}
168
- * @param {string} pkg - The name of the package to check.
169
- * @param {import('./types').IsAppInstalledOptions} [opts={}]
170
- * @return {Promise<boolean>} True if the package is installed.
154
+ * @param pkg - The name of the package to check.
155
+ * @param opts - Options for checking installation
156
+ * @returns True if the package is installed.
171
157
  */
172
- export function isAppInstalled(this: import("../adb.js").ADB, pkg: string, opts?: import("./types").IsAppInstalledOptions): Promise<boolean>;
158
+ export declare function isAppInstalled(this: ADB, pkg: string, opts?: IsAppInstalledOptions): Promise<boolean>;
173
159
  /**
174
160
  * Start the particular URI on the device under test.
175
161
  *
176
- * @this {import('../adb.js').ADB}
177
- * @param {string} uri - The name of URI to start.
178
- * @param {string?} [pkg=null] - The name of the package to start the URI with.
179
- * @param {import('./types').StartUriOptions} [opts={}]
162
+ * @param uri - The name of URI to start.
163
+ * @param pkg - The name of the package to start the URI with.
164
+ * @param opts - Options for starting the URI
180
165
  */
181
- export function startUri(this: import("../adb.js").ADB, uri: string, pkg?: string | null, opts?: import("./types").StartUriOptions): Promise<void>;
166
+ export declare function startUri(this: ADB, uri: string, pkg?: string | null, opts?: StartUriOptions): Promise<void>;
182
167
  /**
183
168
  * Start the particular package/activity on the device under test.
184
169
  *
185
- * @this {import('../adb.js').ADB}
186
- * @param {import('./types').StartAppOptions} startAppOptions - Startup options mapping.
187
- * @return {Promise<string>} The output of the corresponding adb command.
170
+ * @param startAppOptions - Startup options mapping.
171
+ * @returns The output of the corresponding adb command.
188
172
  * @throws {Error} If there is an error while executing the activity
189
173
  */
190
- export function startApp(this: import("../adb.js").ADB, startAppOptions: import("./types").StartAppOptions): Promise<string>;
174
+ export declare function startApp(this: ADB, startAppOptions: StartAppOptions): Promise<string>;
191
175
  /**
192
176
  * Helper method to call `adb dumpsys window windows/displays`
193
- * @this {import('../adb.js').ADB}
194
- * @returns {Promise<string>}
177
+ *
178
+ * @returns The output of the dumpsys command
195
179
  */
196
- export function dumpWindows(this: import("../adb.js").ADB): Promise<string>;
180
+ export declare function dumpWindows(this: ADB): Promise<string>;
197
181
  /**
198
182
  * Get the name of currently focused package and activity.
199
183
  *
200
- * @this {import('../adb.js').ADB}
201
- * @return {Promise<import('./types').PackageActivityInfo>}
184
+ * @returns The focused package and activity information
202
185
  * @throws {Error} If there is an error while parsing the data.
203
186
  */
204
- export function getFocusedPackageAndActivity(this: import("../adb.js").ADB): Promise<import("./types").PackageActivityInfo>;
187
+ export declare function getFocusedPackageAndActivity(this: ADB): Promise<PackageActivityInfo>;
205
188
  /**
206
189
  * Wait for the given activity to be focused/non-focused.
207
190
  *
208
- * @this {import('../adb.js').ADB}
209
- * @param {string} pkg - The name of the package to wait for.
210
- * @param {string} activity - The name of the activity, belonging to that package,
191
+ * @param pkg - The name of the package to wait for.
192
+ * @param activity - The name of the activity, belonging to that package,
211
193
  * to wait for.
212
- * @param {boolean} waitForStop - Whether to wait until the activity is focused (true)
194
+ * @param waitForStop - Whether to wait until the activity is focused (true)
213
195
  * or is not focused (false).
214
- * @param {number} [waitMs=20000] - Number of milliseconds to wait before timeout occurs.
215
- * @throws {error} If timeout happens.
196
+ * @param waitMs - Number of milliseconds to wait before timeout occurs.
197
+ * @throws {Error} If timeout happens.
216
198
  */
217
- export function waitForActivityOrNot(this: import("../adb.js").ADB, pkg: string, activity: string, waitForStop: boolean, waitMs?: number): Promise<void>;
199
+ export declare function waitForActivityOrNot(this: ADB, pkg: string, activity: string, waitForStop: boolean, waitMs?: number): Promise<void>;
218
200
  /**
219
201
  * Wait for the given activity to be focused
220
202
  *
221
- * @this {import('../adb.js').ADB}
222
- * @param {string} pkg - The name of the package to wait for.
223
- * @param {string} act - The name of the activity, belonging to that package,
203
+ * @param pkg - The name of the package to wait for.
204
+ * @param act - The name of the activity, belonging to that package,
224
205
  * to wait for.
225
- * @param {number} [waitMs=20000] - Number of milliseconds to wait before timeout occurs.
226
- * @throws {error} If timeout happens.
206
+ * @param waitMs - Number of milliseconds to wait before timeout occurs.
207
+ * @throws {Error} If timeout happens.
227
208
  */
228
- export function waitForActivity(this: import("../adb.js").ADB, pkg: string, act: string, waitMs?: number): Promise<void>;
209
+ export declare function waitForActivity(this: ADB, pkg: string, act: string, waitMs?: number): Promise<void>;
229
210
  /**
230
211
  * Wait for the given activity to be non-focused.
231
212
  *
232
- * @this {import('../adb.js').ADB}
233
- * @param {string} pkg - The name of the package to wait for.
234
- * @param {string} act - The name of the activity, belonging to that package,
213
+ * @param pkg - The name of the package to wait for.
214
+ * @param act - The name of the activity, belonging to that package,
235
215
  * to wait for.
236
- * @param {number} [waitMs=20000] - Number of milliseconds to wait before timeout occurs.
237
- * @throws {error} If timeout happens.
216
+ * @param waitMs - Number of milliseconds to wait before timeout occurs.
217
+ * @throws {Error} If timeout happens.
238
218
  */
239
- export function waitForNotActivity(this: import("../adb.js").ADB, pkg: string, act: string, waitMs?: number): Promise<void>;
219
+ export declare function waitForNotActivity(this: ADB, pkg: string, act: string, waitMs?: number): Promise<void>;
240
220
  /**
241
221
  * Builds command line representation for the given
242
222
  * application startup options
243
223
  *
244
- * @param {StartCmdOptions} startAppOptions - Application options mapping
245
- * @param {number} apiLevel - The actual OS API level
246
- * @returns {string[]} The actual command line array
224
+ * @param startAppOptions - Application options mapping
225
+ * @param apiLevel - The actual OS API level
226
+ * @returns The actual command line array
247
227
  */
248
- export function buildStartCmd(startAppOptions: StartCmdOptions, apiLevel: number): string[];
228
+ export declare function buildStartCmd(startAppOptions: StartCmdOptions, apiLevel: number): string[];
249
229
  /**
250
230
  * Parses the name of launchable package activity
251
231
  * from dumpsys output.
252
232
  *
253
- * @param {string} dumpsys the actual dumpsys output
254
- * @returns {string[]} Either the fully qualified
233
+ * @param dumpsys - The actual dumpsys output
234
+ * @returns Either the fully qualified
255
235
  * activity name as a single list item or an empty list if nothing could be parsed.
256
236
  * In Android 6 and older there is no reliable way to determine
257
237
  * the category name for the given activity, so this API just
@@ -259,61 +239,56 @@ export function buildStartCmd(startAppOptions: StartCmdOptions, apiLevel: number
259
239
  * with the expectation that the app manifest could be parsed next
260
240
  * in order to determine category names for these.
261
241
  */
262
- export function parseLaunchableActivityNames(dumpsys: string): string[];
242
+ export declare function parseLaunchableActivityNames(dumpsys: string): string[];
263
243
  /**
264
244
  * Check if the given string is a valid component name
265
245
  *
266
- * @param {string} classString The string to verify
267
- * @return {RegExpExecArray?} The result of Regexp.exec operation
246
+ * @param classString - The string to verify
247
+ * @returns The result of Regexp.exec operation
268
248
  * or _null_ if no matches are found
269
249
  */
270
- export function matchComponentName(classString: string): RegExpExecArray | null;
250
+ export declare function matchComponentName(classString: string): RegExpExecArray | null;
271
251
  /**
272
252
  * Retrieves the list of permission names encoded in `dumpsys package` command output.
273
253
  *
274
- * @param {string} dumpsysOutput - The actual command output.
275
- * @param {string[]} groupNames - The list of group names to list permissions for.
276
- * @param {boolean?} [grantedState=null] - The expected state of `granted` attribute to filter with.
254
+ * @param dumpsysOutput - The actual command output.
255
+ * @param groupNames - The list of group names to list permissions for.
256
+ * @param grantedState - The expected state of `granted` attribute to filter with.
277
257
  * No filtering is done if the parameter is not set.
278
- * @returns {string[]} The list of matched permission names or an empty list if no matches were found.
258
+ * @returns The list of matched permission names or an empty list if no matches were found.
279
259
  */
280
- export function extractMatchingPermissions(dumpsysOutput: string, groupNames: string[], grantedState?: boolean | null): string[];
260
+ export declare function extractMatchingPermissions(dumpsysOutput: string, groupNames: string[], grantedState?: boolean | null): string[];
281
261
  /**
282
262
  * Broadcast a message to the given intent.
283
263
  *
284
- * @this {import('../adb.js').ADB}
285
- * @param {string} intent - The name of the intent to broadcast to.
286
- * @throws {error} If intent name is not a valid class name.
264
+ * @param intent - The name of the intent to broadcast to.
265
+ * @throws {Error} If intent name is not a valid class name.
287
266
  */
288
- export function broadcast(this: import("../adb.js").ADB, intent: string): Promise<void>;
267
+ export declare function broadcast(this: ADB, intent: string): Promise<void>;
289
268
  /**
290
269
  * Get the list of process ids for the particular package on the device under test.
291
270
  *
292
- * @this {import('../adb.js').ADB}
293
- * @param {string} pkg
294
- * @returns {Promise<number[]>} The list of matched process IDs or an empty list.
271
+ * @param pkg - The package name
272
+ * @returns The list of matched process IDs or an empty list.
295
273
  */
296
- export function listAppProcessIds(this: import("../adb.js").ADB, pkg: string): Promise<number[]>;
274
+ export declare function listAppProcessIds(this: ADB, pkg: string): Promise<number[]>;
297
275
  /**
298
276
  * Check whether the process with the particular name is running on the device
299
277
  * under test.
300
278
  *
301
- * @this {import('../adb.js').ADB}
302
- * @param {string} pkg - The id of the package to be checked.
279
+ * @param pkg - The id of the package to be checked.
303
280
  * @returns True if the given package is running.
304
281
  */
305
- export function isAppRunning(this: import("../adb.js").ADB, pkg: string): Promise<boolean>;
306
- /** @type {import('./types').StringRecord<import('./types').InstallState>} */
307
- export const APP_INSTALL_STATE: import("./types").StringRecord<import("./types").InstallState>;
308
- export type StartCmdOptions = {
309
- user?: string | number | undefined;
310
- waitForLaunch?: boolean | undefined;
311
- pkg?: string | undefined;
312
- activity?: string | undefined;
313
- action?: string | undefined;
314
- category?: string | undefined;
315
- stopApp?: boolean | undefined;
316
- flags?: string | undefined;
317
- optionalIntentArguments?: string | undefined;
318
- };
282
+ export declare function isAppRunning(this: ADB, pkg: string): Promise<boolean>;
283
+ export interface StartCmdOptions {
284
+ user?: number | string;
285
+ waitForLaunch?: boolean;
286
+ pkg?: string;
287
+ activity?: string;
288
+ action?: string;
289
+ category?: string;
290
+ stopApp?: boolean;
291
+ flags?: string;
292
+ optionalIntentArguments?: string;
293
+ }
319
294
  //# sourceMappingURL=app-commands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-commands.d.ts","sourceRoot":"","sources":["../../../lib/tools/app-commands.js"],"names":[],"mappings":"AAyBA;;;;;;;;GAQG;AACH,yEAJW,MAAM,GACL,OAAO,CAMlB;AAED;;;;;;;;;;GAUG;AACH,8EALW,MAAM,SACN,OAAO,SAAS,EAAE,sBAAsB,GACvC,OAAO,CAAC,MAAM,CAAC,CA2C1B;AAED;;;;;;;;;;;GAWG;AACH,8DAHW,MAAM,GACL,OAAO,CAAC,MAAM,CAAC,CAI1B;AAED;;;;;;;;;;;GAWG;AACH,gEAHW,MAAM,GACL,OAAO,CAAC,MAAM,CAAC,CAI1B;AAED;;;;;;;GAOG;AACH,0DAHW,MAAM,GACL,OAAO,CAAC,MAAM,CAAC,CAI1B;AAED;;;;;;;;;GASG;AACH,wEAJW,MAAM,QACN,MAAM,iBA6ChB;AAED;;;;;;;;;GASG;AACH,qEAJW,MAAM,eACN,KAAK,CAAC,MAAM,CAAC,iBAiBvB;AAED;;;;;;;GAOG;AACH,oEAJW,MAAM,cACN,MAAM,iBAYhB;AAED;;;;;;;GAOG;AACH,qEAJW,MAAM,cACN,MAAM,iBAYhB;AAED;;;;;;;;;GASG;AACH,0EANW,MAAM,cACN,MAAM,OAAC,GAEN,OAAO,CAAC,MAAM,EAAE,CAAC,CAO5B;AAED;;;;;;;;GAQG;AACH,yEALW,MAAM,cACN,MAAM,OAAC,GAEN,OAAO,CAAC,MAAM,EAAE,CAAC,CAM5B;AAED;;;;;;;;GAQG;AACH,sEALW,MAAM,cACN,MAAM,OAAC,GAEN,OAAO,CAAC,MAAM,EAAE,CAAC,CAM5B;AAED;;;;;G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