import type { ExtensionType } from '../../config'; /** * Build the Info.plist XML string for a given extension type. * Pure: no filesystem I/O. Called by `planInfoPlist`. */ export interface TargetInfoPlistOptions { customProperties?: Record; shareExtensionConfig?: { activationRules?: { type: string; maxCount?: number; }[]; preprocessingFile?: string; }; entry?: string; mainAppSchemes?: string[]; targetsConfig?: any[]; targetIcon?: string; /** Human-facing extension name (spaces OK). Written into CFBundleDisplayName. */ displayName?: string; /** Host iOS app bundle id — required for watch companions (WKCompanionAppBundleIdentifier). */ companionAppBundleIdentifier?: string; /** * Clip only. Set when `Assets.xcassets/AppIcon.appiconset` is present so * App Store Connect sees `CFBundleIconName`. */ hasAppIconCatalog?: boolean; intentsConfig?: { intentsSupported?: string[]; intentsRestrictedWhileLocked?: string[]; }; } export declare function getTargetInfoPlistForType(type: ExtensionType, options?: TargetInfoPlistOptions): string; /** * Build NSExtensionActivationRule from share/action extension config * Used for both share extensions (with NSExtensionAttributes) and action extensions * @see https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html */ export declare function buildShareExtensionActivationRules(activationRules?: { type: string; maxCount?: number; }[], preprocessingFile?: string): Record; //# sourceMappingURL=buildInfoPlist.d.ts.map