import type { ExtensionType } from './types'; export declare const APP_GROUP_ENTITLEMENT_KEY = "com.apple.security.application-groups"; /** * Whether a type gets the main app's App Groups synced into its entitlements. */ export declare function shouldUseAppGroups(type: ExtensionType): boolean; /** * Types that cannot build without an App Group. This is the historical * "required" set — a strict subset of the types that default to App Groups. * App Clips are opt-in: they share nothing unless the target lists a group. */ export declare const REQUIRES_APP_GROUP_TYPES: ExtensionType[]; /** * Resolve the App Groups list for a target. An empty configured array omits * the entitlement (no host copy). A real `appGroup` or non-empty list wins. */ export declare function resolveApplicationGroups({ configured, appGroup, mainAppGroups, inheritHost, }: { configured: unknown; appGroup?: string; mainAppGroups?: unknown; inheritHost: boolean; }): string[] | undefined; export declare function omitEmptyApplicationGroups>(entitlements: T): T; export declare function requiresAppGroup(type: ExtensionType): boolean; /** * Types whose EAS credentials can carry App Groups. Wider than * `shouldUseAppGroups` on purpose: missing capabilities break builds when a * user hand-configures App Groups. Clips still omit unless they list a group. */ export declare const EAS_APP_GROUP_TYPES: ExtensionType[]; //# sourceMappingURL=appGroups.d.ts.map