/** * Reading target blocks back out of a Podfile. * * The plugin has to post-process the Podfile it just wrote (framework search * paths for React Native extensions, deployment targets for standalone ones), * which means re-discovering every extension target already in the file. */ export interface PodfileTargetRef { targetName: string; deploymentTarget: string; } export interface ExcludedPackagesTargetRef { targetName: string; packages: string[]; linkerTokens: string[]; } /** * React Native extension targets nested in the main target. They use * `inherit! :search_paths` so they don't pull in incompatible pods like Expo, * which is also why they need extra framework search paths afterwards. */ export declare function findReactNativeExtensionTargets(podfile: string, { mainTargetName, fallbackDeploymentTarget, }: { mainTargetName: string; fallbackDeploymentTarget: string; }): PodfileTargetRef[]; /** * Nested RN targets that declare `excludedPackages` via the marker comment. * Used to rebuild the `post_integrate` strip hook after each target apply. */ export declare function findExcludedPackagesTargets(podfile: string, mainTargetName: string): ExcludedPackagesTargetRef[]; /** * Standalone extension targets: siblings of the main target that declare their * own platform on the line right after `do`. */ export declare function findStandaloneExtensionTargets(podfile: string, mainTargetName: string): PodfileTargetRef[]; /** * Highest deployment target among the given targets, so the Podfile platform * line can be raised to match and avoid linker errors. */ export declare function highestDeploymentTarget(targets: PodfileTargetRef[]): string | undefined; //# sourceMappingURL=scan.d.ts.map