'use strict';

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

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

exports.useGetStakerCountSnapshot = useGetStakerCountSnapshot;
//# sourceMappingURL=use-get-staker-count-snapshot.cjs.map
//# sourceMappingURL=use-get-staker-count-snapshot.cjs.map