1import { PBXNativeTarget, XCBuildConfiguration, XcodeProject } from 'xcode'; 2import { NativeTargetSectionEntry } from './utils/Xcodeproj'; 3export declare enum TargetType { 4 APPLICATION = "com.apple.product-type.application", 5 EXTENSION = "com.apple.product-type.app-extension", 6 WATCH = "com.apple.product-type.application.watchapp", 7 APP_CLIP = "com.apple.product-type.application.on-demand-install-capable", 8 STICKER_PACK_EXTENSION = "com.apple.product-type.app-extension.messages-sticker-pack", 9 OTHER = "other" 10} 11export interface Target { 12 name: string; 13 type: TargetType; 14 dependencies?: Target[]; 15} 16export declare function getXCBuildConfigurationFromPbxproj(project: XcodeProject, { targetName, buildConfiguration, }?: { 17 targetName?: string; 18 buildConfiguration?: string; 19}): XCBuildConfiguration | null; 20export declare function findApplicationTargetWithDependenciesAsync(projectRoot: string, scheme: string): Promise<Target>; 21export declare function isTargetOfType(target: PBXNativeTarget, targetType: TargetType): boolean; 22export declare function getNativeTargets(project: XcodeProject): NativeTargetSectionEntry[]; 23export declare function findSignableTargets(project: XcodeProject): NativeTargetSectionEntry[]; 24export declare function findFirstNativeTarget(project: XcodeProject): NativeTargetSectionEntry; 25export declare function findNativeTargetByName(project: XcodeProject, targetName: string): NativeTargetSectionEntry; 26