import { ExpoConfig, Platform } from '@expo/config'; import { SpawnOptions, SpawnResult } from '@expo/spawn-async'; import { Logger } from './Logger'; declare function getManifestFileNameForSdkVersion(sdkVersion: string): "shell-app-manifest.json" | "app.manifest"; declare function getBundleFileNameForSdkVersion(sdkVersion: string): "shell-app.bundle" | "app.bundle"; declare function parseSdkMajorVersion(expSdkVersion: string): number; declare function saveUrlToPathAsync(url: string, path: string, timeout?: number): Promise; declare function saveImageToPathAsync(projectRoot: string, pathOrURL: string, outPath: string): Promise; declare function getManifestAsync(url: string, headers: any, options?: any): Promise; export declare type AsyncSpawnOptions = SpawnOptions & { loggerFields?: any; pipeToLogger?: boolean | { stdout?: boolean; stderr?: boolean; }; stdoutOnly?: boolean; loggerLineTransformer?: (line: any) => any; }; declare function spawnAsyncThrowError(command: string, args: string[], options?: AsyncSpawnOptions): Promise; declare function spawnAsync(command: string, args: string[], options: SpawnOptions): Promise; declare function createSpawner(buildPhase: string, logger?: Logger): (command: string, ...args: any[]) => Promise; declare function transformFileContentsAsync(filename: string, transform: (input: string) => string | null): Promise; declare function manifestUsesSplashApi(manifest: ExpoConfig, platform: Platform): false | import("@expo/config-types").Splash | { [k: string]: any; backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | "native" | undefined; image?: string | undefined; mdpi?: string | undefined; hdpi?: string | undefined; xhdpi?: string | undefined; xxhdpi?: string | undefined; xxxhdpi?: string | undefined; } | undefined; declare function rimrafDontThrow(directory: string): void; declare function removeIfExists(file: string): Promise; declare function isDirectory(dir: string): boolean; declare type LocaleMap = { [lang: string]: any; }; declare function getResolvedLocalesAsync(projectRoot: string, exp: ExpoConfig): Promise; declare function regexFileAsync(regex: RegExp | string, replace: string, filename: string): Promise; declare function deleteLinesInFileAsync(startRegex: RegExp | string, endRegex: RegExp | string, filename: string): Promise; export { isDirectory, parseSdkMajorVersion, saveUrlToPathAsync, saveImageToPathAsync, getManifestAsync, rimrafDontThrow, removeIfExists, spawnAsyncThrowError, spawnAsync, transformFileContentsAsync, manifestUsesSplashApi, getResolvedLocalesAsync, regexFileAsync, deleteLinesInFileAsync, createSpawner, getManifestFileNameForSdkVersion, getBundleFileNameForSdkVersion, };