bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
27 lines • 835 B
TypeScript
import type { LikeInfo, LikesResponse } from "bmap-api-types";
interface UseFetchLikesOptions {
txid: string;
enabled?: boolean;
}
interface UseFetchLikesResult {
likeInfo: LikeInfo | null;
isLoading: boolean;
error: Error | null;
refetch: () => void;
}
export declare function useFetchLikes({ txid, enabled, }: UseFetchLikesOptions): UseFetchLikesResult;
interface UseFetchUserLikesOptions {
bapId: string;
page?: number;
limit?: number;
enabled?: boolean;
}
interface UseFetchUserLikesResult {
likesResponse: LikesResponse | null;
isLoading: boolean;
error: Error | null;
refetch: () => void;
}
export declare function useFetchUserLikes({ bapId, page, limit, enabled, }: UseFetchUserLikesOptions): UseFetchUserLikesResult;
export {};
//# sourceMappingURL=useFetchLikes.d.ts.map