'use strict';

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

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

exports.useGetFederatedActivitiesByAccounts = useGetFederatedActivitiesByAccounts;
//# sourceMappingURL=use-get-federated-activities-by-accounts.cjs.map
//# sourceMappingURL=use-get-federated-activities-by-accounts.cjs.map