1 | import { CommandLineOptions, IConfig, ILogger, IShell, IShellRunOptions } from '../definitions';
|
2 | export declare const SUPPORTED_PLATFORMS: readonly string[];
|
3 | export interface NativeRunSchema {
|
4 | packagePath: string;
|
5 | platform: string;
|
6 | forwardedPorts?: (string | number)[];
|
7 | }
|
8 | export declare function createNativeRunArgs({ packagePath, platform, forwardedPorts }: NativeRunSchema, options: CommandLineOptions): string[];
|
9 | export declare function createNativeRunListArgs(inputs: string[], options: CommandLineOptions): string[];
|
10 | export interface RunNativeRunDeps {
|
11 | readonly config: IConfig;
|
12 | readonly log: ILogger;
|
13 | readonly shell: IShell;
|
14 | }
|
15 | export declare function runNativeRun({ config, log, shell }: RunNativeRunDeps, args: readonly string[], options?: IShellRunOptions): Promise<void>;
|
16 | export interface CheckNativeRunDeps {
|
17 | readonly config: IConfig;
|
18 | }
|
19 | export declare function checkNativeRun({ config }: CheckNativeRunDeps): Promise<void>;
|
20 | export declare function findNativeRun(): Promise<string | undefined>;
|
21 | export interface NativeDeviceTarget {
|
22 | platform: string;
|
23 | id: string;
|
24 | model: string;
|
25 | sdkVersion: string;
|
26 | }
|
27 | export interface NativeVirtualDeviceTarget {
|
28 | platform: string;
|
29 | id: string;
|
30 | name: string;
|
31 | sdkVersion: string;
|
32 | }
|
33 | export interface NativeTargetPlatform {
|
34 | devices: NativeDeviceTarget[];
|
35 | virtualDevices: NativeVirtualDeviceTarget[];
|
36 | }
|
37 | export declare function getNativeTargets({ log, shell }: RunNativeRunDeps, platform: string): Promise<NativeTargetPlatform>;
|