UNPKG

bigblocks

Version:

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

26 lines 952 B
import type { PostsResponse } from "bmap-api-types"; interface UseSocialFeedOptions { bapId?: string; feedType?: "search" | "user" | "address"; limit?: number; page?: number; enabled?: boolean; searchQuery?: string; address?: string; } export declare function useSocialFeed({ bapId, feedType, limit, page, enabled, searchQuery, address, }?: UseSocialFeedOptions): { data: PostsResponse | undefined; isLoading: boolean; error: Error | null; refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<PostsResponse, Error>>; hasError: boolean; }; export declare function usePostSearch(): { searchPosts: (query: string) => Promise<PostsResponse>; isSearching: boolean; searchResults: PostsResponse | null; searchError: Error | null; hasSearchError: boolean; }; export {}; //# sourceMappingURL=useSocialFeed.d.ts.map