synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
8 lines (7 loc) • 703 B
TypeScript
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>;