1/// <reference types="xcode" /> 2import { ConfigPlugin, XcodeProject } from '../Plugin.types'; 3/** 4 * Ensure a Swift bridging header is created for the project. 5 * This helps fix problems related to using modules that are written in Swift (lottie, FBSDK). 6 * 7 * 1. Ensures the file exists given the project path. 8 * 2. Writes the file and links to Xcode as a resource file. 9 * 3. Sets the build configuration `SWIFT_OBJC_BRIDGING_HEADER = [PROJECT_NAME]-Bridging-Header.h` 10 */ 11export declare const withSwiftBridgingHeader: ConfigPlugin; 12export declare function ensureSwiftBridgingHeaderSetup({ projectRoot, project, }: { 13 projectRoot: string; 14 project: XcodeProject; 15}): XcodeProject; 16export declare function getDesignatedSwiftBridgingHeaderFileReference({ project, }: { 17 project: XcodeProject; 18}): string | null; 19/** 20 * 21 * @param bridgingHeader The bridging header filename ex: `ExpoAPIs-Bridging-Header.h` 22 * @returns 23 */ 24export declare function linkBridgingHeaderFile({ project, bridgingHeader, }: { 25 project: XcodeProject; 26 bridgingHeader: string; 27}): XcodeProject; 28export declare function createBridgingHeaderFile({ projectRoot, projectName, project, bridgingHeader, }: { 29 project: XcodeProject; 30 projectName: string; 31 projectRoot: string; 32 bridgingHeader: string; 33}): XcodeProject; 34export declare const withNoopSwiftFile: ConfigPlugin; 35