UNPKG

1.08 kBTypeScriptView Raw
1import { ExpoAppManifest, PackageJSONConfig, ProjectTarget } from '@expo/config';
2export declare type EmbeddedAssetsConfiguration = {
3 projectRoot: string;
4 pkg: PackageJSONConfig;
5 exp: ExpoAppManifest;
6 releaseChannel?: string;
7 iosManifestUrl: string;
8 iosManifest: any;
9 iosBundle: string | Uint8Array;
10 androidManifestUrl: string;
11 androidManifest: any;
12 androidBundle: string | Uint8Array;
13 target: ProjectTarget;
14};
15export declare function configureAsync(config: EmbeddedAssetsConfiguration): Promise<void>;
16export declare function getEmbeddedManifestPath(platform: 'ios' | 'android', projectRoot: string, exp: ExpoAppManifest): string;
17export declare function shouldEmbedAssetsForExpoUpdates(projectRoot: string, exp: ExpoAppManifest, pkg: PackageJSONConfig, target: ProjectTarget): boolean;
18/** The code below here is duplicated from expo-cli currently **/
19export declare function getIOSPaths(projectRoot: string): {
20 projectName: string;
21 iosProjectDirectory: string;
22 iosSupportingDirectory: string;
23 iconPath: string;
24};