import { QueryKey } from '@tanstack/react-query'; import { Hex } from 'viem'; type OnReactionRemovalParams = { /** * Query key to a query where comment is stored */ queryKey: QueryKey; /** * The reaction ID to remove */ reactionId: Hex; /** * The parent comment ID that the reaction belongs to */ parentCommentId: Hex; }; type OnReactionRemovalStart = (params: OnReactionRemovalParams) => void; type OnReactionRemovalSuccess = (params: OnReactionRemovalParams) => void; type OnReactionRemovalError = (params: OnReactionRemovalParams) => void; type ReactionRemovalAPI = { start: OnReactionRemovalStart; success: OnReactionRemovalSuccess; error: OnReactionRemovalError; }; declare function useReactionRemoval(reactionType: string): ReactionRemovalAPI; export { useReactionRemoval };