export function planGroupCreator(selectedIds, preferredCreator, isOnline, pickFallback) {
    if (preferredCreator && selectedIds.includes(preferredCreator) && isOnline(preferredCreator)) {
        return { creatorLarkAppId: preferredCreator, inviteUser: true };
    }
    return { creatorLarkAppId: pickFallback(selectedIds), inviteUser: false };
}
//# sourceMappingURL=team-group.js.map