/**
 * React to posts with emojis
 * @module Reaction
 * @group Posts
 */
export interface ReactionVector {
    tag: string;
    hash: string;
    back?: boolean;
}
export declare function useReaction({ tag, hash, back }: ReactionVector): {
    reaction: import("vue").Ref<string>;
    react: (r: string) => void;
};
export interface Reaction extends ReactionVector {
    reaction: string | boolean;
}
export declare function reactToPost({ tag, hash, back, reaction }: Reaction): Promise<void>;
