var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
        r = Reflect.decorate(decorators, target, key, desc);
    else
        for (var i = decorators.length - 1; i >= 0; i--)
            if (d = decorators[i])
                r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { Command } from "@limetech/lime-web-components";
const COMMAND_ID = 'limebb-feed.highlight-item';
/**
 * Command to highlight a feed item.
 *
 * This command is used to highlight a specific item in the feed, making it
 * stand out visually. It is typically used when you want to draw attention to
 * a particular item, such as after a new item is added or when redirecting
 * from an external view to a specific post in the feed.
 *
 * The command takes the `itemId` as a parameter, which is the unique
 * identifier of the feed item to be highlighted. If the item with the
 * specified ID does not exist in the feed, the command will throw an error and
 * will fail.
 *
 * @beta
 */
let HighlightFeedItemCommand = class HighlightFeedItemCommand {
    constructor(itemId) {
        this.itemId = itemId;
    }
};
HighlightFeedItemCommand = __decorate([
    Command({
        id: COMMAND_ID,
    })
], HighlightFeedItemCommand);
export { HighlightFeedItemCommand };
