import { kinds } from "nostr-tools";
import { blueprint } from "../event-factory.js";
import { includeEmojis } from "../operations/content.js";
import { setReactionParent, setReaction } from "../operations/reaction.js";
/** blueprint for kind 7 reaction event */
export function ReactionBlueprint(event, emoji = "+") {
    return blueprint(kinds.Reaction, setReaction(emoji), setReactionParent(event), typeof emoji !== "string" ? includeEmojis([emoji]) : undefined);
}
