synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
18 lines (17 loc) • 724 B
TypeScript
import { UserProfile } from '../synapseTypes/';
declare function getUserProfileWithProfilePicAttached(principalIds: string[]): Promise<{
list: UserProfile[];
}>;
export declare type UserProfileAndImg = {
userProfile: UserProfile;
preSignedURL?: string;
};
declare function getProfilePic(userProfile: UserProfile, token?: string): Promise<UserProfileAndImg>;
declare const getColor: (userName: string) => string;
export { getUserProfileWithProfilePicAttached, getColor, getProfilePic };
declare const _default: {
getUserProfileWithProfilePicAttached: typeof getUserProfileWithProfilePicAttached;
getColor: (userName: string) => string;
getProfilePic: typeof getProfilePic;
};
export default _default;