import { getNodeAvatarSvgURL } from '@rss3/api-core';
import { useQuery } from '@tanstack/react-query';

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

export { useGetNodeAvatarSvgURL };
//# sourceMappingURL=use-get-node-avatar-svg-url.js.map
//# sourceMappingURL=use-get-node-avatar-svg-url.js.map