'use strict';

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

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

exports.useGetChipSvgURL = useGetChipSvgURL;
//# sourceMappingURL=use-get-chip-svg-url.cjs.map
//# sourceMappingURL=use-get-chip-svg-url.cjs.map