1import { ExpoConfig } from '@expo/config-types'; 2import { XcodeProject } from 'xcode'; 3import { ConfigPlugin } from '../Plugin.types'; 4type Bitcode = NonNullable<ExpoConfig['ios']>['bitcode']; 5/** 6 * Plugin to set a bitcode preference for the Xcode project 7 * based on the project's Expo config `ios.bitcode` value. 8 */ 9export declare const withBitcode: ConfigPlugin; 10/** 11 * Plugin to set a custom bitcode preference for the Xcode project. 12 * Does not read from the Expo config `ios.bitcode`. 13 * 14 * @param bitcode custom bitcode setting. 15 */ 16export declare const withCustomBitcode: ConfigPlugin<Bitcode>; 17/** 18 * Get the bitcode preference from the Expo config. 19 */ 20export declare function getBitcode(config: Pick<ExpoConfig, 'ios'>): Bitcode; 21/** 22 * Enable or disable the `ENABLE_BITCODE` property of the project configurations. 23 */ 24export declare function setBitcodeWithConfig(config: Pick<ExpoConfig, 'ios'>, { project }: { 25 project: XcodeProject; 26}): XcodeProject; 27/** 28 * Enable or disable the `ENABLE_BITCODE` property. 29 */ 30export declare function setBitcode(bitcode: Bitcode, { project }: { 31 project: XcodeProject; 32}): XcodeProject; 33export {}; 34