import { getFederatedActivitiesByAccounts } from '@rss3/api-core';
import { useQuery } from '@tanstack/react-query';

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

export { useGetFederatedActivitiesByAccounts };
//# sourceMappingURL=use-get-federated-activities-by-accounts.js.map
//# sourceMappingURL=use-get-federated-activities-by-accounts.js.map