'use strict';

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

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

exports.useGetEpochsApySnapshot = useGetEpochsApySnapshot;
//# sourceMappingURL=use-get-epochs-apy-snapshot.cjs.map
//# sourceMappingURL=use-get-epochs-apy-snapshot.cjs.map