'use strict';

var apiCore = require('@rss3/api-core');
var reactQuery = require('@tanstack/react-query');

function useGetFederatedActivitiesByAccount(params, options) {
  const queryKey = ["useGetFederatedActivitiesByAccount", params];
  const query = reactQuery.useQuery({
    queryKey,
    queryFn: () => {
      const args = Array.isArray(params) ? params : [params];
      return apiCore.getFederatedActivitiesByAccount(
        ...args
      );
    },
    ...options
  });
  return {
    ...query,
    queryKey
  };
}

exports.useGetFederatedActivitiesByAccount = useGetFederatedActivitiesByAccount;
//# sourceMappingURL=use-get-federated-activities-by-account.cjs.map
//# sourceMappingURL=use-get-federated-activities-by-account.cjs.map