import { Orientation } from '@mablhq/test-model/types/mobile/SetOrientationStepDescriptor';
export interface RunningAndroidEmulatorInfo {
    avdName: string;
    id: string;
    product: string;
    model: string;
    device: string;
    transportId: string;
}
export interface RunningAndroidEmulators {
    [key: string]: RunningAndroidEmulatorInfo;
}
declare enum EmulatorState {
    running = "running",
    shutdown = "shutdown"
}
export interface EmulatorInfo {
    avdName: string;
    name: string;
    state: EmulatorState;
    runningInfo?: RunningAndroidEmulatorInfo;
    isRealDevice?: boolean;
}
export interface ListEmulatorsResponse {
    [key: string]: EmulatorInfo;
}
export declare function getAndroidHomeDirectoryPath(): string;
export declare function getListOfLocalAndroidEmulators(includePhysicalDevices?: boolean): Promise<ListEmulatorsResponse>;
export declare function getEmulatorVersion(): {
    version: string;
    buildId?: string;
};
export declare function startAndroidEmulator(avdName: string, headless: boolean, gpuMode?: string, blockOnProcess?: boolean, additionalEmulatorArgs?: string[]): Promise<string | undefined>;
export declare function waitForEmulatorRunning(avdName: string): Promise<string>;
export declare function waitForBootToComplete(deviceSerialId: string): Promise<void>;
export declare function getRunningAndroidDevices(): Promise<RunningAndroidEmulatorInfo[]>;
export declare function waitForAnyOnlineAndroidDevice(): Promise<RunningAndroidEmulatorInfo>;
export declare function parseEmulatedDevice(deviceLine: string, index: number): Promise<RunningAndroidEmulatorInfo | undefined>;
export declare function parseUsbDevice(deviceLine: string, index: number): RunningAndroidEmulatorInfo | undefined;
export declare function shutdownAndroidEmulator(avdName: string): Promise<void>;
export declare function getDeviceSerialId(avdName: string): Promise<string | undefined>;
export declare function getFirstDeviceSerialId(): Promise<string | undefined>;
export declare function getJavaVersion(javaBinaryPath: string): number | undefined;
export declare function resetUiautomatorServer2ForDevice(deviceSerialId: string): Promise<void>;
export declare function setAndroidOrientation(deviceSerialId: string, orientation: Orientation): Promise<void>;
export {};
//# sourceMappingURL=androidUtil.d.ts.map