import { a as AppStoreConnectClient, q as CapabilitySettingInput, B as BundleId, p as BundleIdCapability, j as App } from './index-CCtYhPN9.js'; import { B as BundleIdPlatform, d as CapabilityType } from './enums-B609j2rb.js'; interface ProduceOptions { client: AppStoreConnectClient; bundleIdentifier: string; appName: string; platform?: BundleIdPlatform; sku?: string; primaryLocale?: string; companyName?: string; enableServices?: CapabilityType[]; } /** * Map from Fastlane's `produce` service name → App Store Connect * `capabilityType`. Ported 1:1 from `produce/lib/produce/service.rb`'s * `valid_services_for` list and `update` method, covering every service * that Fastlane supports. */ declare const SERVICE_NAME_TO_CAPABILITY: Record; /** * Build the `settings` payload for a capability whose service value is * more than a plain boolean. Mirrors Fastlane's * `Produce::Service#build_settings_for` applied per-service. * * Returns `undefined` when the service doesn't carry settings or the * value is just `true`/`false`. */ declare function buildCapabilitySettings(serviceName: string, value: string | boolean): CapabilitySettingInput[] | undefined; declare function registerBundleId(options: { client: AppStoreConnectClient; identifier: string; name: string; platform?: BundleIdPlatform; }): Promise; declare function addCapability(options: { client: AppStoreConnectClient; bundleIdId: string; capabilityType: CapabilityType; settings?: CapabilitySettingInput[]; }): Promise; declare function removeCapability(options: { client: AppStoreConnectClient; capabilityId: string; }): Promise; declare function listCapabilities(options: { client: AppStoreConnectClient; bundleIdId: string; }): Promise; declare function enableServices(options: { client: AppStoreConnectClient; bundleIdId: string; /** * Service names (Fastlane style, e.g. `data_protection`, `icloud`). * Pass either a plain list of names or a record of name → value, where * the value either is `true` or one of the per-service variants handled * by `buildCapabilitySettings`. */ services: string[] | Record; }): Promise; declare function createApp(options: ProduceOptions): Promise; type index_ProduceOptions = ProduceOptions; declare const index_SERVICE_NAME_TO_CAPABILITY: typeof SERVICE_NAME_TO_CAPABILITY; declare const index_addCapability: typeof addCapability; declare const index_buildCapabilitySettings: typeof buildCapabilitySettings; declare const index_createApp: typeof createApp; declare const index_enableServices: typeof enableServices; declare const index_listCapabilities: typeof listCapabilities; declare const index_registerBundleId: typeof registerBundleId; declare const index_removeCapability: typeof removeCapability; declare namespace index { export { type index_ProduceOptions as ProduceOptions, index_SERVICE_NAME_TO_CAPABILITY as SERVICE_NAME_TO_CAPABILITY, index_addCapability as addCapability, index_buildCapabilitySettings as buildCapabilitySettings, index_createApp as createApp, index_enableServices as enableServices, index_listCapabilities as listCapabilities, index_registerBundleId as registerBundleId, index_removeCapability as removeCapability }; } export { type ProduceOptions as P, SERVICE_NAME_TO_CAPABILITY as S, addCapability as a, buildCapabilitySettings as b, removeCapability as c, createApp as d, enableServices as e, index as i, listCapabilities as l, registerBundleId as r };