UNPKG

bigblocks

Version:

Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React

23 lines 1.47 kB
export declare function useSocial(): { createPost: (variables: import("../index.js").PostMutationData) => void; createPostAsync: (variables: import("../index.js").PostMutationData) => Promise<import("../index.js").BroadcastResult>; followUser: (variables: import("../index.js").FollowMutationData) => void; followUserAsync: (variables: import("../index.js").FollowMutationData) => Promise<import("../index.js").BroadcastResult>; unfollowUser: (variables: import("../index.js").FollowMutationData) => void; unfollowUserAsync: (variables: import("../index.js").FollowMutationData) => Promise<import("../index.js").BroadcastResult>; likePost: (variables: import("../index.js").LikeMutationData) => void; likePostAsync: (variables: import("../index.js").LikeMutationData) => Promise<import("../index.js").BroadcastResult>; unlikePost: (variables: import("../index.js").LikeMutationData) => void; unlikePostAsync: (variables: import("../index.js").LikeMutationData) => Promise<import("../index.js").BroadcastResult>; acceptFriendRequest: (idKey: string) => void; declineFriendRequest: (idKey: string) => void; isLoading: boolean; isError: boolean; isSuccess: boolean; hasError: boolean; error: import("../index.js").SocialError | null; friends: import("bmap-api-types").Friend[]; friendRequests: import("bmap-api-types").BapIdentity[]; reset: () => void; }; //# sourceMappingURL=useSocial.d.ts.map