import type { XcodeProject } from '@expo/config-plugins'; import { IOSConfig } from '@expo/config-plugins'; import type { XcodeTarget } from './types'; /** * Finding, de-duplicating and relating native targets in a PBX project. */ export declare const getProjectName: typeof IOSConfig.XcodeUtils.getProjectName, getApplicationNativeTarget: typeof IOSConfig.XcodeUtils.getApplicationNativeTarget; /** * Find the watchOS companion application target UUID (not the iOS host). * Identified by application product type + watchos SDK / WATCHOS_DEPLOYMENT_TARGET. */ export declare function findWatchCompanionTargetUuid(project: XcodeProject): string | undefined; /** * Find a target UUID by its product name. */ export declare function findTargetByProductName({ project, productName, }: { project: XcodeProject; productName: string; }): string | undefined; /** * Find all target UUIDs with a given product name (detects duplicates) */ export declare function findAllTargetsByProductName({ project, productName, }: { project: XcodeProject; productName: string; }): string[]; /** * Remove duplicate targets with the same product name, keeping only the first one */ export declare function removeDuplicateTargets({ project, productName, }: { project: XcodeProject; productName: string; }): number; /** * Set product type for a native target. * Useful for App Clips which need special product type after creation. */ export declare function setProductType({ target, productType, }: { target: XcodeTarget; productType: string; }): void; /** * Check if target dependency already exists */ export declare function hasTargetDependency({ project, mainTargetUuid, dependentTargetUuid, }: { project: XcodeProject; mainTargetUuid: string; dependentTargetUuid: string; }): boolean; /** * Add target dependency from main app to extension/clip target. * Ensures PBXTargetDependency and PBXContainerItemProxy sections exist. */ export declare function addTargetDependency({ project, mainTargetUuid, dependentTargetUuid, }: { project: XcodeProject; mainTargetUuid: string; dependentTargetUuid: string; }): void; //# sourceMappingURL=targetLifecycle.d.ts.map