You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
996 B
28 lines
996 B
import { ExpoConfig } from '@expo/config-types';
|
|
import { Versions } from 'xdl';
|
|
export declare function getExpoSdkConfig(path: string): Promise<ExpoConfig | undefined>;
|
|
declare type ClientPlatform = 'android' | 'ios';
|
|
export declare function getClient(platform: ClientPlatform, sdk?: Versions.SDKVersion | null): {
|
|
url: string;
|
|
version: string | undefined;
|
|
} | null;
|
|
interface AvailableClientOptions {
|
|
sdkVersions: Versions.SDKVersions;
|
|
platform: ClientPlatform;
|
|
project?: ExpoConfig;
|
|
}
|
|
interface AvailableClient {
|
|
sdkVersion: Versions.SDKVersion;
|
|
sdkVersionString: string;
|
|
clientUrl?: string;
|
|
clientVersion?: string;
|
|
}
|
|
export declare function getAvailableClients(options: AvailableClientOptions): AvailableClient[];
|
|
interface InstallClientOptions {
|
|
clients: AvailableClient[];
|
|
latestSdkVersion?: string;
|
|
currentSdkVersion?: string;
|
|
}
|
|
export declare function askClientToInstall(options: InstallClientOptions): Promise<AvailableClient>;
|
|
export {};
|