import { UmbContextToken } from '../../../../libs/context-api/index.js';
import { UmbStoreBase } from '../../../core/store/index.js';
import { UmbArrayState } from '../../../../libs/observable-api/index.js';
/**
 * @class UmbWebhookEventStore
 * @augments {UmbStoreBase}
 * @description - Data Store for Webhook Events
 */
export class UmbWebhookEventStore extends UmbStoreBase {
    /**
     * Creates an instance of UmbWebhookEventStore.
     * @param {UmbControllerHost} host - The controller host for this controller to be appended to
     * @memberof UmbWebhookEventStore
     */
    constructor(host) {
        super(host, UMB_WEBHOOK_EVENT_STORE_CONTEXT.toString(), new UmbArrayState([], (x) => x.alias));
    }
}
export default UmbWebhookEventStore;
export const UMB_WEBHOOK_EVENT_STORE_CONTEXT = new UmbContextToken('UmbWebhookEventStore');
