/** * Resolves the path to the `adb` binary. * * Priority: * 1. ADB_PATH env var (explicit override) * 2. ANDROID_HOME / ANDROID_SDK_ROOT env vars + /platform-tools/adb[.exe] * 3. Platform-default SDK locations (Android Studio defaults) * 4. `adb` from PATH (fallback — works when adb is on PATH, e.g. macOS Homebrew) * * Result is memoized: the first call probes the filesystem, subsequent calls * return the cached path. Tests call `_resetCacheForTests()` to clear it. * * Throws AdbNotInstalledError with the list of probed paths when nothing works. */ /** * Resolve the adb binary path. Memoized after first successful call. * Throws AdbNotInstalledError listing all probed paths when nothing is found. */ export declare function resolveAdbPath(): string; /** Quote a path for safe inclusion in a shell command (handles spaces in Windows paths). */ export declare function quoteAdbPath(path: string): string; /** @internal — for tests only */ export declare function _resetCacheForTests(): void; //# sourceMappingURL=resolver.d.ts.map