'use strict';

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

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

exports.useGetNodeAvatarSvgSrc = useGetNodeAvatarSvgSrc;
//# sourceMappingURL=use-get-node-avatar-svg-src.cjs.map
//# sourceMappingURL=use-get-node-avatar-svg-src.cjs.map