import * as frida from "frida"; import type { Runtime, TargetConfig } from "./config.js"; export declare function resolveLocalSpawn(program: string, root: string): string; export declare function getDevice(target: TargetConfig): Promise; export interface OpenedSession { session: frida.Session; /** Resume a gated spawn (idempotent); no-op for the system session. */ resume(): Promise; /** Kill the process if we spawned it, else detach. */ close(): Promise; } export declare function openSession(device: frida.Device, target: TargetConfig): Promise; export declare function loadScript(script: frida.Script): Promise; export declare function runtimeOption(runtime?: Runtime): frida.ScriptRuntime; //# sourceMappingURL=session.d.ts.map