/** * Path utilities for working with target directories and files. * Centralizes path resolution logic used across iOS plugins. */ /** * Sanitize target name for use in Xcode (removes non-alphanumeric characters). * Appends "Target" suffix to avoid conflicts with main app name. */ export declare function sanitizeTargetName(name: string): string; /** * Get the target directory path (where user places their target code). */ export declare function getTargetDirectory({ projectRoot, targetDirectory, }: { projectRoot: string; targetDirectory: string; }): string; /** * Get the target group path in Xcode project (where target files live). * Adds 'Target' suffix to prevent case-insensitivity collisions with main app on macOS. * * On case-insensitive filesystems (macOS default), directory names that differ only by case * collide. For example, "shareextension" (main app) and "ShareExtension" (target) would resolve * to the same directory. Adding "Target" suffix ensures uniqueness. */ export declare function getTargetGroupPath({ platformProjectRoot, targetName, }: { platformProjectRoot: string; targetName: string; }): string; /** * Get path to generated entitlements file in Xcode project. */ export declare function getGeneratedEntitlementsPath({ platformProjectRoot, targetName, }: { platformProjectRoot: string; targetName: string; }): string; /** * Get path to Info.plist in Xcode project. */ export declare function getInfoPlistPath({ platformProjectRoot, targetName, }: { platformProjectRoot: string; targetName: string; }): string; /** * Get path to Assets.xcassets in Xcode project. * For sticker targets, returns Stickers.xcassets instead. */ export declare function getAssetsXcassetsPath({ platformProjectRoot, targetName, isStickers, }: { platformProjectRoot: string; targetName: string; isStickers?: boolean; }): string; /** * Get path to a specific colorset in Xcode project. */ export declare function getColorsetPath({ platformProjectRoot, targetName, colorName, }: { platformProjectRoot: string; targetName: string; colorName: string; }): string; /** * Get path to a specific sticker pack in Xcode project. */ export declare function getStickerPackPath({ platformProjectRoot, targetName, stickerPackName, }: { platformProjectRoot: string; targetName: string; stickerPackName: string; }): string; /** * ============================================================================ * Sealed generated artifacts (CNG) * ============================================================================ * User Swift stays in targets//ios/ (referenced in place). Plugin-generated * Info.plist, Assets, entitlements, and stub Swift live under * ios//ExpoTargetsGenerated// (gitignored, always rewrite). */ /** Shared with host Live Activity / App Shortcuts CNG. */ export declare const GENERATED_DIR_NAME = "ExpoTargetsGenerated"; /** * Absolute path to the sealed build output for one Xcode product. * `productName` must already be `sanitizeTargetName(...)`. */ export declare function getTargetBuildPath({ platformProjectRoot, projectName, productName, }: { platformProjectRoot: string; projectName: string; productName: string; }): string; /** Legacy path under targets/ — deleted on apply after migration. */ export declare function getLegacyTargetBuildPath({ projectRoot, targetDirectory, }: { projectRoot: string; targetDirectory: string; }): string; /** * Get path to Info.plist in ios//ExpoTargetsGenerated//. */ export declare function getTargetInfoPlistPath(options: Parameters[0]): string; /** * Get path to entitlements in ios//ExpoTargetsGenerated//. */ export declare function getTargetEntitlementsPath(options: Parameters[0]): string; /** * Get path to Assets.xcassets in ios//ExpoTargetsGenerated//. * For sticker targets, returns Stickers.xcassets instead. */ export declare function getTargetAssetsPath({ isStickers, ...buildPathOptions }: Parameters[0] & { isStickers?: boolean; }): string; /** * Get path to a colorset in ExpoTargetsGenerated//Assets.xcassets/. */ export declare function getTargetColorsetPath({ colorName, ...assetsOptions }: Parameters[0] & { colorName: string; }): string; /** * Get path to an imageset in ExpoTargetsGenerated//Assets.xcassets/. */ export declare function getTargetImagesetPath({ imageName, ...assetsOptions }: Parameters[0] & { imageName: string; }): string; /** * Get path to user's Swift source files in targets/TARGETNAME/ios/. * These are referenced in place, not copied. */ export declare function getTargetSourcePath({ projectRoot, targetDirectory, fileName, }: { projectRoot: string; targetDirectory: string; fileName: string; }): string; /** Sealed `popup.js` for a Safari web extension with a React Native Web entry. */ export declare function getSafariPopupJsPath(options: Parameters[0]): string; //# sourceMappingURL=paths.d.ts.map