/*eslint-disable */
define([], function () {
    /**
     * Copyright © Magento, Inc. All rights reserved.
     * See COPYING.txt for license details.
     */

    /**
     * @api
     */
    var Block =
        /*#__PURE__*/
        function () {
            "use strict";

            function Block() {
            }

            var _proto = Block.prototype;

            /**
             * Read link from element
             *
             * @param {HTMLElement} element
             * @returns {string | object}
             */
            _proto.read = function read(element) {
                return { id: element.getAttribute("data-block-id")};
            }

            return Block;
        }();

    return Block;
});
//# sourceMappingURL=link.js.map
