1import xcode from 'xcode'; 2import { ExpoPlist } from './IosConfig.types'; 3import { ConfigPlugin } from '../Plugin.types'; 4import { ExpoConfigUpdates } from '../utils/Updates'; 5export declare enum Config { 6 ENABLED = "EXUpdatesEnabled", 7 CHECK_ON_LAUNCH = "EXUpdatesCheckOnLaunch", 8 LAUNCH_WAIT_MS = "EXUpdatesLaunchWaitMs", 9 RUNTIME_VERSION = "EXUpdatesRuntimeVersion", 10 SDK_VERSION = "EXUpdatesSDKVersion", 11 UPDATE_URL = "EXUpdatesURL", 12 RELEASE_CHANNEL = "EXUpdatesReleaseChannel", 13 UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY = "EXUpdatesRequestHeaders", 14 CODE_SIGNING_CERTIFICATE = "EXUpdatesCodeSigningCertificate", 15 CODE_SIGNING_METADATA = "EXUpdatesCodeSigningMetadata" 16} 17export declare const withUpdates: ConfigPlugin; 18export declare function setUpdatesConfigAsync(projectRoot: string, config: ExpoConfigUpdates, expoPlist: ExpoPlist, expoUpdatesPackageVersion?: string | null): Promise<ExpoPlist>; 19export declare function setVersionsConfigAsync(projectRoot: string, config: ExpoConfigUpdates, expoPlist: ExpoPlist): Promise<ExpoPlist>; 20interface ShellScriptBuildPhase { 21 isa: 'PBXShellScriptBuildPhase'; 22 name: string; 23 shellScript: string; 24 [key: string]: any; 25} 26export declare function getBundleReactNativePhase(project: xcode.XcodeProject): ShellScriptBuildPhase; 27export declare function ensureBundleReactNativePhaseContainsConfigurationScript(projectRoot: string, project: xcode.XcodeProject): xcode.XcodeProject; 28export declare function isShellScriptBuildPhaseConfigured(projectRoot: string, project: xcode.XcodeProject): boolean; 29export declare function isPlistConfigurationSet(expoPlist: ExpoPlist): boolean; 30export declare function isPlistConfigurationSyncedAsync(projectRoot: string, config: ExpoConfigUpdates, expoPlist: ExpoPlist): Promise<boolean>; 31export declare function isPlistVersionConfigurationSyncedAsync(projectRoot: string, config: Pick<ExpoConfigUpdates, 'sdkVersion' | 'runtimeVersion'>, expoPlist: ExpoPlist): Promise<boolean>; 32export {}; 33