"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useMembersQuery = useMembersQuery;
var _tsSdkReactNative = require("@amityco/ts-sdk-react-native");
var _reactQuery = require("@tanstack/react-query");
function useMembersQuery() {
  const {
    mutate: removeMembers
  } = (0, _reactQuery.useMutation)({
    mutationFn: ({
      communityId,
      userIds
    }) => _tsSdkReactNative.CommunityRepository.Membership.removeMembers(communityId, userIds)
  });
  return {
    removeMembers
  };
}
//# sourceMappingURL=useMembersQuery.js.map