UNPKG

bigblocks

Version:

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

20 lines 724 B
import type { ChannelInfo, ChannelMessageParams, MessagesResponse } from "bmap-api-types"; interface UseChannelsResult { channels: ChannelInfo[]; isLoading: boolean; error: Error | null; refetch: () => void; } export declare function useChannels(): UseChannelsResult; interface UseChannelMessagesOptions extends Partial<ChannelMessageParams> { enabled?: boolean; } interface UseChannelMessagesResult { messages: MessagesResponse | null; isLoading: boolean; error: Error | null; refetch: () => void; } export declare function useChannelMessages({ channelId, page, limit, enabled, }: UseChannelMessagesOptions): UseChannelMessagesResult; export {}; //# sourceMappingURL=useChannels.d.ts.map