import { CommunityRepository } from '@amityco/ts-sdk-react-native';
import { useMutation } from '@tanstack/react-query';
export function useMembersQuery() {
  const {
    mutate: removeMembers
  } = useMutation({
    mutationFn: ({
      communityId,
      userIds
    }) => CommunityRepository.Membership.removeMembers(communityId, userIds)
  });
  return {
    removeMembers
  };
}
//# sourceMappingURL=useMembersQuery.js.map