'use strict';

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

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

exports.useGetNodeAvatarSvgURL = useGetNodeAvatarSvgURL;
//# sourceMappingURL=use-get-node-avatar-svg-url.cjs.map
//# sourceMappingURL=use-get-node-avatar-svg-url.cjs.map