import { ExpoConfig } from '@expo/config-types'; import { z } from 'zod'; /** * @category main * @since 0.1.1 */ /** * @category ExpoConfig * @since 0.1.1 * The zod schema for the Expo config. * (Zod equivalent of the `ExpoConfig` type) * * @const */ declare const ExpoConfigSchema: z.ZodObject<{ name: z.ZodString; slug: z.ZodString; version: z.ZodOptional; orientation: z.ZodOptional, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>; icon: z.ZodOptional; userInterfaceStyle: z.ZodOptional, z.ZodLiteral<"dark">, z.ZodLiteral<"automatic">]>>; splash: z.ZodOptional, z.ZodObject<{ backgroundColor: z.ZodOptional; resizeMode: z.ZodOptional, z.ZodLiteral<"contain">]>>; image: z.ZodOptional; }, "strip", z.ZodTypeAny, { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }, { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }>>>; updates: z.ZodOptional; checkAutomatically: z.ZodOptional, z.ZodLiteral<"ON_LOAD">]>>; fallbackToCacheTimeout: z.ZodNumber; url: z.ZodOptional; codeSigningCertificate: z.ZodOptional; codeSigningMetadata: z.ZodOptional>; keyid: z.ZodOptional; }, "strip", z.ZodTypeAny, { alg?: "rsa-v1_5-sha256" | undefined; keyid?: string | undefined; }, { alg?: "rsa-v1_5-sha256" | undefined; keyid?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; checkAutomatically?: "ON_ERROR_RECOVERY" | "ON_LOAD" | undefined; url?: string | undefined; codeSigningCertificate?: string | undefined; codeSigningMetadata?: { alg?: "rsa-v1_5-sha256" | undefined; keyid?: string | undefined; } | undefined; fallbackToCacheTimeout: number; }, { enabled?: boolean | undefined; checkAutomatically?: "ON_ERROR_RECOVERY" | "ON_LOAD" | undefined; url?: string | undefined; codeSigningCertificate?: string | undefined; codeSigningMetadata?: { alg?: "rsa-v1_5-sha256" | undefined; keyid?: string | undefined; } | undefined; fallbackToCacheTimeout: number; }>>; assetBundlePatterns: z.ZodOptional>; ios: z.ZodOptional; publishBundlePath: z.ZodOptional; bundleIdentifier: z.ZodOptional; buildNumber: z.ZodOptional; backgroundColor: z.ZodOptional; icon: z.ZodOptional; merchantId: z.ZodOptional; appStoreUrl: z.ZodOptional; bitcode: z.ZodOptional>; config: z.ZodOptional; }, "strip", z.ZodTypeAny, { apiKey?: string | undefined; }, { apiKey?: string | undefined; }>>; usesNonExemptEncryption: z.ZodOptional; googleMapsApiKey: z.ZodOptional; googleMobileAdsAppId: z.ZodOptional; googleMobileAdsAutoInit: z.ZodOptional; googleSignIn: z.ZodOptional; }, "strip", z.ZodTypeAny, { reservedClientId?: string | undefined; }, { reservedClientId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { branch?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { reservedClientId?: string | undefined; } | undefined; usesNonExemptEncryption?: boolean | undefined; googleMapsApiKey?: string | undefined; }, { branch?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { reservedClientId?: string | undefined; } | undefined; usesNonExemptEncryption?: boolean | undefined; googleMapsApiKey?: string | undefined; }>>; googleServicesFile: z.ZodOptional; supportsTablet: z.ZodOptional; isTabletOnly: z.ZodOptional; requireFullScreen: z.ZodOptional; userInterfaceStyle: z.ZodOptional, z.ZodLiteral<"dark">, z.ZodLiteral<"automatic">]>>; infoPlist: z.ZodOptional>; entitlements: z.ZodOptional>; associatedDomains: z.ZodOptional>; usesIcloudStorage: z.ZodOptional; usesAppleSignIn: z.ZodOptional; accessesContactNotes: z.ZodOptional; splash: z.ZodOptional, z.ZodObject<{ backgroundColor: z.ZodOptional; resizeMode: z.ZodOptional, z.ZodLiteral<"contain">]>>; image: z.ZodOptional; }, "strip", z.ZodTypeAny, { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }, { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }>>, z.ZodObject<{ tabletImage: z.ZodOptional; }, "strip", z.ZodTypeAny, { tabletImage?: string | undefined; }, { tabletImage?: string | undefined; }>>>; jsEngine: z.ZodOptional, z.ZodLiteral<"jsc">]>>; runtimeVersion: z.ZodOptional, z.ZodLiteral<"nativeVersion">, z.ZodLiteral<"appVersion">]>; }, "strip", z.ZodTypeAny, { policy: "sdkVersion" | "nativeVersion" | "appVersion"; }, { policy: "sdkVersion" | "nativeVersion" | "appVersion"; }>]>>; }, "strip", z.ZodTypeAny, { publishManifestPath?: string | undefined; publishBundlePath?: string | undefined; backgroundColor?: string | undefined; userInterfaceStyle?: "light" | "dark" | "automatic" | undefined; icon?: string | undefined; googleServicesFile?: string | undefined; config?: { branch?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { reservedClientId?: string | undefined; } | undefined; usesNonExemptEncryption?: boolean | undefined; googleMapsApiKey?: string | undefined; } | undefined; splash?: (Record & { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; } & { tabletImage?: string | undefined; }) | undefined; jsEngine?: "hermes" | "jsc" | undefined; runtimeVersion?: string | { policy: "sdkVersion" | "nativeVersion" | "appVersion"; } | undefined; bundleIdentifier?: string | undefined; buildNumber?: string | undefined; merchantId?: string | undefined; appStoreUrl?: string | undefined; bitcode?: string | boolean | undefined; supportsTablet?: boolean | undefined; isTabletOnly?: boolean | undefined; requireFullScreen?: boolean | undefined; infoPlist?: Record | undefined; entitlements?: Record | undefined; associatedDomains?: string[] | undefined; usesIcloudStorage?: boolean | undefined; usesAppleSignIn?: boolean | undefined; accessesContactNotes?: boolean | undefined; }, { publishManifestPath?: string | undefined; publishBundlePath?: string | undefined; backgroundColor?: string | undefined; userInterfaceStyle?: "light" | "dark" | "automatic" | undefined; icon?: string | undefined; googleServicesFile?: string | undefined; config?: { branch?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { reservedClientId?: string | undefined; } | undefined; usesNonExemptEncryption?: boolean | undefined; googleMapsApiKey?: string | undefined; } | undefined; splash?: (Record & { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; } & { tabletImage?: string | undefined; }) | undefined; jsEngine?: "hermes" | "jsc" | undefined; runtimeVersion?: string | { policy: "sdkVersion" | "nativeVersion" | "appVersion"; } | undefined; bundleIdentifier?: string | undefined; buildNumber?: string | undefined; merchantId?: string | undefined; appStoreUrl?: string | undefined; bitcode?: string | boolean | undefined; supportsTablet?: boolean | undefined; isTabletOnly?: boolean | undefined; requireFullScreen?: boolean | undefined; infoPlist?: Record | undefined; entitlements?: Record | undefined; associatedDomains?: string[] | undefined; usesIcloudStorage?: boolean | undefined; usesAppleSignIn?: boolean | undefined; accessesContactNotes?: boolean | undefined; }>>; android: z.ZodObject<{ publishManifestPath: z.ZodOptional; publishBundlePath: z.ZodOptional; package: z.ZodOptional; versionCode: z.ZodOptional; backgroundColor: z.ZodOptional; userInterfaceStyle: z.ZodOptional, z.ZodLiteral<"dark">, z.ZodLiteral<"automatic">]>>; useNextNotificationsApi: z.ZodOptional; icon: z.ZodOptional; adaptiveIcon: z.ZodOptional; backgroundImage: z.ZodOptional; backgroundColor: z.ZodOptional; }, "strip", z.ZodTypeAny, { backgroundColor?: string | undefined; foregroundImage?: string | undefined; backgroundImage?: string | undefined; }, { backgroundColor?: string | undefined; foregroundImage?: string | undefined; backgroundImage?: string | undefined; }>>; playStoreUrl: z.ZodOptional; permissions: z.ZodOptional>; blockedPermissions: z.ZodOptional>; googleServicesFile: z.ZodOptional; config: z.ZodOptional; }, "strip", z.ZodTypeAny, { apiKey?: string | undefined; }, { apiKey?: string | undefined; }>>; googleMaps: z.ZodOptional; }, "strip", z.ZodTypeAny, { apiKey?: string | undefined; }, { apiKey?: string | undefined; }>>; googleMobileAdsAppId: z.ZodOptional; googleMobileAdsAutoInit: z.ZodOptional; googleSignIn: z.ZodOptional; certificateHash: z.ZodOptional; }, "strip", z.ZodTypeAny, { apiKey?: string | undefined; certificateHash?: string | undefined; }, { apiKey?: string | undefined; certificateHash?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { branch?: { apiKey?: string | undefined; } | undefined; googleMaps?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { apiKey?: string | undefined; certificateHash?: string | undefined; } | undefined; }, { branch?: { apiKey?: string | undefined; } | undefined; googleMaps?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { apiKey?: string | undefined; certificateHash?: string | undefined; } | undefined; }>>; splash: z.ZodOptional, z.ZodObject<{ backgroundColor: z.ZodOptional; resizeMode: z.ZodOptional, z.ZodLiteral<"contain">, z.ZodLiteral<"native">]>>; image: z.ZodOptional; mdpi: z.ZodOptional; hdpi: z.ZodOptional; xhdpi: z.ZodOptional; xxhdpi: z.ZodOptional; xxxhdpi: z.ZodOptional; }, "strip", z.ZodTypeAny, { 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; }, { 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; }>>>; intentFilters: z.ZodOptional; action: z.ZodString; data: z.ZodOptional; host: z.ZodOptional; port: z.ZodOptional; path: z.ZodOptional; pathPattern: z.ZodOptional; pathPrefix: z.ZodOptional; mimeType: z.ZodOptional; }, "strip", z.ZodTypeAny, { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; }, { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; }>, z.ZodArray; host: z.ZodOptional; port: z.ZodOptional; path: z.ZodOptional; pathPattern: z.ZodOptional; pathPrefix: z.ZodOptional; mimeType: z.ZodOptional; }, "strip", z.ZodTypeAny, { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; }, { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; }>, "many">]>>; category: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { data?: { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; } | { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; }[] | undefined; autoVerify?: boolean | undefined; category?: string | string[] | undefined; action: string; }, { data?: { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; } | { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; }[] | undefined; autoVerify?: boolean | undefined; category?: string | string[] | undefined; action: string; }>, "many">>; allowBackup: z.ZodOptional; softwareKeyboardLayoutMode: z.ZodOptional, z.ZodLiteral<"pan">]>>; jsEngine: z.ZodOptional, z.ZodLiteral<"jsc">]>>; runtimeVersion: z.ZodOptional, z.ZodLiteral<"nativeVersion">, z.ZodLiteral<"appVersion">]>; }, "strip", z.ZodTypeAny, { policy: "sdkVersion" | "nativeVersion" | "appVersion"; }, { policy: "sdkVersion" | "nativeVersion" | "appVersion"; }>]>>; }, "strip", z.ZodTypeAny, { publishManifestPath?: string | undefined; publishBundlePath?: string | undefined; package?: string | undefined; versionCode?: number | undefined; backgroundColor?: string | undefined; userInterfaceStyle?: "light" | "dark" | "automatic" | undefined; useNextNotificationsApi?: boolean | undefined; icon?: string | undefined; adaptiveIcon?: { backgroundColor?: string | undefined; foregroundImage?: string | undefined; backgroundImage?: string | undefined; } | undefined; playStoreUrl?: string | undefined; permissions?: string[] | undefined; blockedPermissions?: string[] | undefined; googleServicesFile?: string | undefined; config?: { branch?: { apiKey?: string | undefined; } | undefined; googleMaps?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { apiKey?: string | undefined; certificateHash?: string | undefined; } | undefined; } | undefined; splash?: (Record & { 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; intentFilters?: { data?: { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; } | { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; }[] | undefined; autoVerify?: boolean | undefined; category?: string | string[] | undefined; action: string; }[] | undefined; allowBackup?: boolean | undefined; softwareKeyboardLayoutMode?: "resize" | "pan" | undefined; jsEngine?: "hermes" | "jsc" | undefined; runtimeVersion?: string | { policy: "sdkVersion" | "nativeVersion" | "appVersion"; } | undefined; }, { publishManifestPath?: string | undefined; publishBundlePath?: string | undefined; package?: string | undefined; versionCode?: number | undefined; backgroundColor?: string | undefined; userInterfaceStyle?: "light" | "dark" | "automatic" | undefined; useNextNotificationsApi?: boolean | undefined; icon?: string | undefined; adaptiveIcon?: { backgroundColor?: string | undefined; foregroundImage?: string | undefined; backgroundImage?: string | undefined; } | undefined; playStoreUrl?: string | undefined; permissions?: string[] | undefined; blockedPermissions?: string[] | undefined; googleServicesFile?: string | undefined; config?: { branch?: { apiKey?: string | undefined; } | undefined; googleMaps?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { apiKey?: string | undefined; certificateHash?: string | undefined; } | undefined; } | undefined; splash?: (Record & { 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; intentFilters?: { data?: { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; } | { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; }[] | undefined; autoVerify?: boolean | undefined; category?: string | string[] | undefined; action: string; }[] | undefined; allowBackup?: boolean | undefined; softwareKeyboardLayoutMode?: "resize" | "pan" | undefined; jsEngine?: "hermes" | "jsc" | undefined; runtimeVersion?: string | { policy: "sdkVersion" | "nativeVersion" | "appVersion"; } | undefined; }>; web: z.ZodOptional, z.ZodObject<{ favicon: z.ZodOptional; name: z.ZodOptional; shortName: z.ZodOptional; lang: z.ZodOptional; scope: z.ZodOptional; themeColor: z.ZodOptional; description: z.ZodOptional; dir: z.ZodOptional, z.ZodLiteral<"ltr">, z.ZodLiteral<"rtl">]>>; /** * @category ExpoConfig * @since 0.1.1 * The zod schema for the Expo config. * (Zod equivalent of the `ExpoConfig` type) * * @const */ display: z.ZodOptional, z.ZodLiteral<"standalone">, z.ZodLiteral<"minimal-ui">, z.ZodLiteral<"browser">]>>; startUrl: z.ZodOptional; orientation: z.ZodOptional, z.ZodLiteral<"natural">, z.ZodLiteral<"landscape">, z.ZodLiteral<"landscape-primary">, z.ZodLiteral<"landscape-secondary">, z.ZodLiteral<"portrait">, z.ZodLiteral<"portrait-primary">, z.ZodLiteral<"portrait-secondary">]>>; backgroundColor: z.ZodOptional; barStyle: z.ZodOptional, z.ZodLiteral<"black">, z.ZodLiteral<"black-translucent">]>>; preferRelatedApplications: z.ZodOptional; dangerous: z.ZodOptional>; splash: z.ZodOptional, z.ZodObject<{ backgroundColor: z.ZodOptional; resizeMode: z.ZodOptional, z.ZodLiteral<"contain">]>>; image: z.ZodOptional; }, "strip", z.ZodTypeAny, { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }, { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }>>>; config: z.ZodOptional, z.ZodObject<{ firebase: z.ZodOptional, z.ZodObject<{ apiKey: z.ZodOptional; authDomain: z.ZodOptional; databaseURL: z.ZodOptional; projectId: z.ZodOptional; storageBucket: z.ZodOptional; messagingSenderId: z.ZodOptional; appId: z.ZodOptional; measurementId: z.ZodOptional; }, "strip", z.ZodTypeAny, { apiKey?: string | undefined; authDomain?: string | undefined; databaseURL?: string | undefined; projectId?: string | undefined; storageBucket?: string | undefined; messagingSenderId?: string | undefined; appId?: string | undefined; measurementId?: string | undefined; }, { apiKey?: string | undefined; authDomain?: string | undefined; databaseURL?: string | undefined; projectId?: string | undefined; storageBucket?: string | undefined; messagingSenderId?: string | undefined; appId?: string | undefined; measurementId?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { firebase?: (Record & { apiKey?: string | undefined; authDomain?: string | undefined; databaseURL?: string | undefined; projectId?: string | undefined; storageBucket?: string | undefined; messagingSenderId?: string | undefined; appId?: string | undefined; measurementId?: string | undefined; }) | undefined; }, { firebase?: (Record & { apiKey?: string | undefined; authDomain?: string | undefined; databaseURL?: string | undefined; projectId?: string | undefined; storageBucket?: string | undefined; messagingSenderId?: string | undefined; appId?: string | undefined; measurementId?: string | undefined; }) | undefined; }>>>; bundler: z.ZodOptional, z.ZodLiteral<"metro">]>>; }, "strip", z.ZodTypeAny, { backgroundColor?: string | undefined; config?: (Record & { firebase?: (Record & { apiKey?: string | undefined; authDomain?: string | undefined; databaseURL?: string | undefined; projectId?: string | undefined; storageBucket?: string | undefined; messagingSenderId?: string | undefined; appId?: string | undefined; measurementId?: string | undefined; }) | undefined; }) | undefined; splash?: (Record & { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }) | undefined; barStyle?: "default" | "black" | "black-translucent" | undefined; favicon?: string | undefined; name?: string | undefined; shortName?: string | undefined; lang?: string | undefined; scope?: string | undefined; themeColor?: string | undefined; description?: string | undefined; dir?: "auto" | "ltr" | "rtl" | undefined; display?: "fullscreen" | "standalone" | "minimal-ui" | "browser" | undefined; startUrl?: string | undefined; orientation?: "portrait" | "landscape" | "any" | "natural" | "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary" | undefined; preferRelatedApplications?: boolean | undefined; dangerous?: Record | undefined; bundler?: "webpack" | "metro" | undefined; }, { backgroundColor?: string | undefined; config?: (Record & { firebase?: (Record & { apiKey?: string | undefined; authDomain?: string | undefined; databaseURL?: string | undefined; projectId?: string | undefined; storageBucket?: string | undefined; messagingSenderId?: string | undefined; appId?: string | undefined; measurementId?: string | undefined; }) | undefined; }) | undefined; splash?: (Record & { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }) | undefined; barStyle?: "default" | "black" | "black-translucent" | undefined; favicon?: string | undefined; name?: string | undefined; shortName?: string | undefined; lang?: string | undefined; scope?: string | undefined; themeColor?: string | undefined; description?: string | undefined; dir?: "auto" | "ltr" | "rtl" | undefined; display?: "fullscreen" | "standalone" | "minimal-ui" | "browser" | undefined; startUrl?: string | undefined; orientation?: "portrait" | "landscape" | "any" | "natural" | "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary" | undefined; preferRelatedApplications?: boolean | undefined; dangerous?: Record | undefined; bundler?: "webpack" | "metro" | undefined; }>>>; extra: z.ZodOptional>; owner: z.ZodOptional; description: z.ZodOptional; currentFullName: z.ZodOptional; originalFullName: z.ZodOptional; privacy: z.ZodOptional, z.ZodLiteral<"unlisted">, z.ZodLiteral<"hidden">]>>; sdkVersion: z.ZodOptional; runtimeVersion: z.ZodOptional, z.ZodLiteral<"nativeVersion">, z.ZodLiteral<"appVersion">]>; }, "strip", z.ZodTypeAny, { policy: "sdkVersion" | "nativeVersion" | "appVersion"; }, { policy: "sdkVersion" | "nativeVersion" | "appVersion"; }>]>>; platforms: z.ZodOptional, z.ZodLiteral<"ios">, z.ZodLiteral<"web">]>, "many">>; githubUrl: z.ZodOptional; backgroundColor: z.ZodOptional; primaryColor: z.ZodOptional; notification: z.ZodOptional; color: z.ZodOptional; iosDisplayInForeground: z.ZodOptional; androidMode: z.ZodOptional, z.ZodLiteral<"collapse">]>>; androidCollapsedTitle: z.ZodOptional; }, "strip", z.ZodTypeAny, { icon?: string | undefined; color?: string | undefined; iosDisplayInForeground?: boolean | undefined; androidMode?: "default" | "collapse" | undefined; androidCollapsedTitle?: string | undefined; }, { icon?: string | undefined; color?: string | undefined; iosDisplayInForeground?: boolean | undefined; androidMode?: "default" | "collapse" | undefined; androidCollapsedTitle?: string | undefined; }>>; appKey: z.ZodOptional; androidStatusBar: z.ZodOptional, z.ZodLiteral<"dark-content">]>>; backgroundColor: z.ZodOptional; hidden: z.ZodOptional; translucent: z.ZodOptional; }, "strip", z.ZodTypeAny, { backgroundColor?: string | undefined; barStyle?: "light-content" | "dark-content" | undefined; hidden?: boolean | undefined; translucent?: boolean | undefined; }, { backgroundColor?: string | undefined; barStyle?: "light-content" | "dark-content" | undefined; hidden?: boolean | undefined; translucent?: boolean | undefined; }>>; androidNavigationBar: z.ZodOptional, z.ZodLiteral<"dark-content">]>>; backgroundColor: z.ZodOptional; hidden: z.ZodOptional; translucent: z.ZodOptional; }, "strip", z.ZodTypeAny, { backgroundColor?: string | undefined; barStyle?: "light-content" | "dark-content" | undefined; hidden?: boolean | undefined; translucent?: boolean | undefined; }, { backgroundColor?: string | undefined; barStyle?: "light-content" | "dark-content" | undefined; hidden?: boolean | undefined; translucent?: boolean | undefined; }>>; developmentClient: z.ZodOptional; }, "strip", z.ZodTypeAny, { silentLaunch?: boolean | undefined; }, { silentLaunch?: boolean | undefined; }>>; scheme: z.ZodOptional; entryPoint: z.ZodOptional; packagerOpts: z.ZodOptional>; locales: z.ZodOptional]>>>; facebookAppId: z.ZodOptional; facebookAutoInitEnabled: z.ZodOptional; facebookAutoLogAppEventsEnabled: z.ZodOptional; facebookAdvertiserIDCollectionEnabled: z.ZodOptional; facebookDisplayName: z.ZodOptional; facebookScheme: z.ZodOptional; isDetached: z.ZodOptional; detach: z.ZodOptional>; plugins: z.ZodOptional, z.ZodTuple<[z.ZodString], null>, z.ZodTuple<[z.ZodString, z.ZodAny], null>]>, "many">>; jsEngine: z.ZodOptional, z.ZodLiteral<"jsc">]>>; hooks: z.ZodOptional, z.ZodObject<{ file: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { config?: Record | undefined; file?: string | undefined; }, { config?: Record | undefined; file?: string | undefined; }>>, "many">>; postExport: z.ZodOptional, z.ZodObject<{ file: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { config?: Record | undefined; file?: string | undefined; }, { config?: Record | undefined; file?: string | undefined; }>>, "many">>; }, "strip", z.ZodTypeAny, { postPublish?: (Record & { config?: Record | undefined; file?: string | undefined; })[] | undefined; postExport?: (Record & { config?: Record | undefined; file?: string | undefined; })[] | undefined; }, { postPublish?: (Record & { config?: Record | undefined; file?: string | undefined; })[] | undefined; postExport?: (Record & { config?: Record | undefined; file?: string | undefined; })[] | undefined; }>>; experiments: z.ZodOptional; }, "strip", z.ZodTypeAny, { turboModules?: boolean | undefined; }, { turboModules?: boolean | undefined; }>>; _internal: z.ZodOptional, z.ZodObject<{ pluginHistory: z.ZodOptional>; }, "strip", z.ZodTypeAny, { pluginHistory?: Record | undefined; }, { pluginHistory?: Record | undefined; }>>>; }, "strip", z.ZodTypeAny, { scheme?: string | undefined; sdkVersion?: string | undefined; backgroundColor?: string | undefined; userInterfaceStyle?: "light" | "dark" | "automatic" | undefined; icon?: string | undefined; splash?: (Record & { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }) | undefined; jsEngine?: "hermes" | "jsc" | undefined; runtimeVersion?: string | { policy: "sdkVersion" | "nativeVersion" | "appVersion"; } | undefined; ios?: { publishManifestPath?: string | undefined; publishBundlePath?: string | undefined; backgroundColor?: string | undefined; userInterfaceStyle?: "light" | "dark" | "automatic" | undefined; icon?: string | undefined; googleServicesFile?: string | undefined; config?: { branch?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { reservedClientId?: string | undefined; } | undefined; usesNonExemptEncryption?: boolean | undefined; googleMapsApiKey?: string | undefined; } | undefined; splash?: (Record & { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; } & { tabletImage?: string | undefined; }) | undefined; jsEngine?: "hermes" | "jsc" | undefined; runtimeVersion?: string | { policy: "sdkVersion" | "nativeVersion" | "appVersion"; } | undefined; bundleIdentifier?: string | undefined; buildNumber?: string | undefined; merchantId?: string | undefined; appStoreUrl?: string | undefined; bitcode?: string | boolean | undefined; supportsTablet?: boolean | undefined; isTabletOnly?: boolean | undefined; requireFullScreen?: boolean | undefined; infoPlist?: Record | undefined; entitlements?: Record | undefined; associatedDomains?: string[] | undefined; usesIcloudStorage?: boolean | undefined; usesAppleSignIn?: boolean | undefined; accessesContactNotes?: boolean | undefined; } | undefined; web?: (Record & { backgroundColor?: string | undefined; config?: (Record & { firebase?: (Record & { apiKey?: string | undefined; authDomain?: string | undefined; databaseURL?: string | undefined; projectId?: string | undefined; storageBucket?: string | undefined; messagingSenderId?: string | undefined; appId?: string | undefined; measurementId?: string | undefined; }) | undefined; }) | undefined; splash?: (Record & { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }) | undefined; barStyle?: "default" | "black" | "black-translucent" | undefined; favicon?: string | undefined; name?: string | undefined; shortName?: string | undefined; lang?: string | undefined; scope?: string | undefined; themeColor?: string | undefined; description?: string | undefined; dir?: "auto" | "ltr" | "rtl" | undefined; display?: "fullscreen" | "standalone" | "minimal-ui" | "browser" | undefined; startUrl?: string | undefined; orientation?: "portrait" | "landscape" | "any" | "natural" | "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary" | undefined; preferRelatedApplications?: boolean | undefined; dangerous?: Record | undefined; bundler?: "webpack" | "metro" | undefined; }) | undefined; description?: string | undefined; orientation?: "default" | "portrait" | "landscape" | undefined; version?: string | undefined; updates?: { enabled?: boolean | undefined; checkAutomatically?: "ON_ERROR_RECOVERY" | "ON_LOAD" | undefined; url?: string | undefined; codeSigningCertificate?: string | undefined; codeSigningMetadata?: { alg?: "rsa-v1_5-sha256" | undefined; keyid?: string | undefined; } | undefined; fallbackToCacheTimeout: number; } | undefined; assetBundlePatterns?: string[] | undefined; extra?: Record | undefined; owner?: string | undefined; currentFullName?: string | undefined; originalFullName?: string | undefined; privacy?: "hidden" | "public" | "unlisted" | undefined; platforms?: ("android" | "ios" | "web")[] | undefined; githubUrl?: string | undefined; primaryColor?: string | undefined; notification?: { icon?: string | undefined; color?: string | undefined; iosDisplayInForeground?: boolean | undefined; androidMode?: "default" | "collapse" | undefined; androidCollapsedTitle?: string | undefined; } | undefined; appKey?: string | undefined; androidStatusBar?: { backgroundColor?: string | undefined; barStyle?: "light-content" | "dark-content" | undefined; hidden?: boolean | undefined; translucent?: boolean | undefined; } | undefined; androidNavigationBar?: { backgroundColor?: string | undefined; barStyle?: "light-content" | "dark-content" | undefined; hidden?: boolean | undefined; translucent?: boolean | undefined; } | undefined; developmentClient?: { silentLaunch?: boolean | undefined; } | undefined; entryPoint?: string | undefined; packagerOpts?: Record | undefined; locales?: Record> | undefined; facebookAppId?: string | undefined; facebookAutoInitEnabled?: boolean | undefined; facebookAutoLogAppEventsEnabled?: boolean | undefined; facebookAdvertiserIDCollectionEnabled?: boolean | undefined; facebookDisplayName?: string | undefined; facebookScheme?: string | undefined; isDetached?: boolean | undefined; detach?: Record | undefined; plugins?: (string | [string] | [] | [string, any])[] | undefined; hooks?: { postPublish?: (Record & { config?: Record | undefined; file?: string | undefined; })[] | undefined; postExport?: (Record & { config?: Record | undefined; file?: string | undefined; })[] | undefined; } | undefined; experiments?: { turboModules?: boolean | undefined; } | undefined; _internal?: (Record & { pluginHistory?: Record | undefined; }) | undefined; android: { publishManifestPath?: string | undefined; publishBundlePath?: string | undefined; package?: string | undefined; versionCode?: number | undefined; backgroundColor?: string | undefined; userInterfaceStyle?: "light" | "dark" | "automatic" | undefined; useNextNotificationsApi?: boolean | undefined; icon?: string | undefined; adaptiveIcon?: { backgroundColor?: string | undefined; foregroundImage?: string | undefined; backgroundImage?: string | undefined; } | undefined; playStoreUrl?: string | undefined; permissions?: string[] | undefined; blockedPermissions?: string[] | undefined; googleServicesFile?: string | undefined; config?: { branch?: { apiKey?: string | undefined; } | undefined; googleMaps?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { apiKey?: string | undefined; certificateHash?: string | undefined; } | undefined; } | undefined; splash?: (Record & { 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; intentFilters?: { data?: { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; } | { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; }[] | undefined; autoVerify?: boolean | undefined; category?: string | string[] | undefined; action: string; }[] | undefined; allowBackup?: boolean | undefined; softwareKeyboardLayoutMode?: "resize" | "pan" | undefined; jsEngine?: "hermes" | "jsc" | undefined; runtimeVersion?: string | { policy: "sdkVersion" | "nativeVersion" | "appVersion"; } | undefined; }; name: string; slug: string; }, { scheme?: string | undefined; sdkVersion?: string | undefined; backgroundColor?: string | undefined; userInterfaceStyle?: "light" | "dark" | "automatic" | undefined; icon?: string | undefined; splash?: (Record & { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }) | undefined; jsEngine?: "hermes" | "jsc" | undefined; runtimeVersion?: string | { policy: "sdkVersion" | "nativeVersion" | "appVersion"; } | undefined; ios?: { publishManifestPath?: string | undefined; publishBundlePath?: string | undefined; backgroundColor?: string | undefined; userInterfaceStyle?: "light" | "dark" | "automatic" | undefined; icon?: string | undefined; googleServicesFile?: string | undefined; config?: { branch?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { reservedClientId?: string | undefined; } | undefined; usesNonExemptEncryption?: boolean | undefined; googleMapsApiKey?: string | undefined; } | undefined; splash?: (Record & { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; } & { tabletImage?: string | undefined; }) | undefined; jsEngine?: "hermes" | "jsc" | undefined; runtimeVersion?: string | { policy: "sdkVersion" | "nativeVersion" | "appVersion"; } | undefined; bundleIdentifier?: string | undefined; buildNumber?: string | undefined; merchantId?: string | undefined; appStoreUrl?: string | undefined; bitcode?: string | boolean | undefined; supportsTablet?: boolean | undefined; isTabletOnly?: boolean | undefined; requireFullScreen?: boolean | undefined; infoPlist?: Record | undefined; entitlements?: Record | undefined; associatedDomains?: string[] | undefined; usesIcloudStorage?: boolean | undefined; usesAppleSignIn?: boolean | undefined; accessesContactNotes?: boolean | undefined; } | undefined; web?: (Record & { backgroundColor?: string | undefined; config?: (Record & { firebase?: (Record & { apiKey?: string | undefined; authDomain?: string | undefined; databaseURL?: string | undefined; projectId?: string | undefined; storageBucket?: string | undefined; messagingSenderId?: string | undefined; appId?: string | undefined; measurementId?: string | undefined; }) | undefined; }) | undefined; splash?: (Record & { backgroundColor?: string | undefined; resizeMode?: "cover" | "contain" | undefined; image?: string | undefined; }) | undefined; barStyle?: "default" | "black" | "black-translucent" | undefined; favicon?: string | undefined; name?: string | undefined; shortName?: string | undefined; lang?: string | undefined; scope?: string | undefined; themeColor?: string | undefined; description?: string | undefined; dir?: "auto" | "ltr" | "rtl" | undefined; display?: "fullscreen" | "standalone" | "minimal-ui" | "browser" | undefined; startUrl?: string | undefined; orientation?: "portrait" | "landscape" | "any" | "natural" | "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary" | undefined; preferRelatedApplications?: boolean | undefined; dangerous?: Record | undefined; bundler?: "webpack" | "metro" | undefined; }) | undefined; description?: string | undefined; orientation?: "default" | "portrait" | "landscape" | undefined; version?: string | undefined; updates?: { enabled?: boolean | undefined; checkAutomatically?: "ON_ERROR_RECOVERY" | "ON_LOAD" | undefined; url?: string | undefined; codeSigningCertificate?: string | undefined; codeSigningMetadata?: { alg?: "rsa-v1_5-sha256" | undefined; keyid?: string | undefined; } | undefined; fallbackToCacheTimeout: number; } | undefined; assetBundlePatterns?: string[] | undefined; extra?: Record | undefined; owner?: string | undefined; currentFullName?: string | undefined; originalFullName?: string | undefined; privacy?: "hidden" | "public" | "unlisted" | undefined; platforms?: ("android" | "ios" | "web")[] | undefined; githubUrl?: string | undefined; primaryColor?: string | undefined; notification?: { icon?: string | undefined; color?: string | undefined; iosDisplayInForeground?: boolean | undefined; androidMode?: "default" | "collapse" | undefined; androidCollapsedTitle?: string | undefined; } | undefined; appKey?: string | undefined; androidStatusBar?: { backgroundColor?: string | undefined; barStyle?: "light-content" | "dark-content" | undefined; hidden?: boolean | undefined; translucent?: boolean | undefined; } | undefined; androidNavigationBar?: { backgroundColor?: string | undefined; barStyle?: "light-content" | "dark-content" | undefined; hidden?: boolean | undefined; translucent?: boolean | undefined; } | undefined; developmentClient?: { silentLaunch?: boolean | undefined; } | undefined; entryPoint?: string | undefined; packagerOpts?: Record | undefined; locales?: Record> | undefined; facebookAppId?: string | undefined; facebookAutoInitEnabled?: boolean | undefined; facebookAutoLogAppEventsEnabled?: boolean | undefined; facebookAdvertiserIDCollectionEnabled?: boolean | undefined; facebookDisplayName?: string | undefined; facebookScheme?: string | undefined; isDetached?: boolean | undefined; detach?: Record | undefined; plugins?: (string | [string] | [] | [string, any])[] | undefined; hooks?: { postPublish?: (Record & { config?: Record | undefined; file?: string | undefined; })[] | undefined; postExport?: (Record & { config?: Record | undefined; file?: string | undefined; })[] | undefined; } | undefined; experiments?: { turboModules?: boolean | undefined; } | undefined; _internal?: (Record & { pluginHistory?: Record | undefined; }) | undefined; android: { publishManifestPath?: string | undefined; publishBundlePath?: string | undefined; package?: string | undefined; versionCode?: number | undefined; backgroundColor?: string | undefined; userInterfaceStyle?: "light" | "dark" | "automatic" | undefined; useNextNotificationsApi?: boolean | undefined; icon?: string | undefined; adaptiveIcon?: { backgroundColor?: string | undefined; foregroundImage?: string | undefined; backgroundImage?: string | undefined; } | undefined; playStoreUrl?: string | undefined; permissions?: string[] | undefined; blockedPermissions?: string[] | undefined; googleServicesFile?: string | undefined; config?: { branch?: { apiKey?: string | undefined; } | undefined; googleMaps?: { apiKey?: string | undefined; } | undefined; googleMobileAdsAppId?: string | undefined; googleMobileAdsAutoInit?: boolean | undefined; googleSignIn?: { apiKey?: string | undefined; certificateHash?: string | undefined; } | undefined; } | undefined; splash?: (Record & { 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; intentFilters?: { data?: { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; } | { scheme?: string | undefined; host?: string | undefined; port?: string | undefined; path?: string | undefined; pathPattern?: string | undefined; pathPrefix?: string | undefined; mimeType?: string | undefined; }[] | undefined; autoVerify?: boolean | undefined; category?: string | string[] | undefined; action: string; }[] | undefined; allowBackup?: boolean | undefined; softwareKeyboardLayoutMode?: "resize" | "pan" | undefined; jsEngine?: "hermes" | "jsc" | undefined; runtimeVersion?: string | { policy: "sdkVersion" | "nativeVersion" | "appVersion"; } | undefined; }; name: string; slug: string; }>; /** * Validates the provided `config` object against the [Expo Configuration Schema](https://docs.expo.io/versions/latest/workflow/configuration). * * @since 0.1.0 * @category ExpoConfig * @param {ExpoConfig} config - An object representing the Expo configuration for an app. It should conform to the [Expo Configuration Schema](https://docs.expo.io/versions/latest/workflow/configuration). * @param {'parse' | 'safeParse'} [method='parse'] - The method to use for validating the `config` object. * @returns {true | Object} - If the `config` object is valid, the function returns `true`. If the `config` object is invalid, the function returns an object with details about the validation errors. * * @example * import { validateExpoConfig } from './validateExpoConfig'; * * const config = { * name: 'My App', * displayName: 'My App', * slug: 'my-app', * version: '1.0.0', * orientation: 'portrait', * icon: './assets/icon.png', * splash: { * image: './assets/splash.png', * resizeMode: 'contain', * backgroundColor: '#ffffff', * }, * updates: { * fallbackToCacheTimeout: 0, * }, * ios: { * supportsTablet: true, * }, * android: { * package: 'com.example.myapp', * }, * web: { * favicon: './assets/favicon.png', * }, * }; * * const validationResult = validateExpoConfig(config); * * if (validationResult === true) { * console.log('The config object is valid'); * } else { * console.log('The config object is invalid:', validationResult); * } */ declare function validateExpoConfig(config: ExpoConfig): ExpoConfig; export { ExpoConfigSchema, validateExpoConfig };