UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

8 lines (7 loc) 703 B
import { UseQueryOptions } from 'react-query'; import { SynapseClient } from '../..'; import { UserProfileAndImg } from '../../functions/getUserData'; import { SynapseClientError } from '../../SynapseClient'; import { UserProfile } from '../../synapseTypes'; export declare function useGetUserProfile(principalId: string, options?: UseQueryOptions<UserProfile, SynapseClientError>): import("react-query").UseQueryResult<UserProfile, SynapseClient.SynapseClientError>; export declare function useGetUserProfileWithProfilePic(principalId: string, options?: UseQueryOptions<UserProfileAndImg, SynapseClientError>): import("react-query").UseQueryResult<UserProfileAndImg, SynapseClient.SynapseClientError>;