import { FridaScriptExports as ScriptExports } from '../util/types.js'; import type { PackageInfo, SystemInfo, FResult } from './frida-script.cjs'; export declare enum StartMethod { /** Spawn the app process with Frida, even if the app is already running (recommended) */ SPAWN = 0, /** Start the app's main activity using the am command */ ACTIVITY = 1, /** * Start a background service using the am command (default) * This tricks Android into not killing the app for some reason and allows the process to be started * in the background. */ SERVICE = 2, /** Same as ACTIVITY, but kill the app first */ FORCE_ACTIVITY = 3, /** Same as SERVICE, but kill the app first */ FORCE_SERVICE = 4, /** Do not attempt to start the app - if it is not already running the server will fail */ NONE = 5 } export type FridaScriptExports = ScriptExports; export { PackageInfo, SystemInfo, FResult, };