appium-adb
Version:
Android Debug Bridge interface
20 lines • 679 B
TypeScript
/**
* Gets Android SDK root from environment variables.
*
* @returns SDK root path if present
*/
export declare function getSdkRootFromEnv(): string | undefined;
/**
* Resolves and validates Android SDK root path.
*
* @param customRoot - Optional explicit SDK root path override
* @returns Absolute path to a valid SDK root directory
*/
export declare function requireSdkRoot(customRoot?: string | null): Promise<string>;
export declare const getJavaHome: (() => Promise<string>) & {
cache: Map<unknown, Promise<string>>;
};
export declare const getJavaForOs: (() => Promise<string>) & {
cache: Map<unknown, Promise<string>>;
};
//# sourceMappingURL=sdk.d.ts.map