import { r as registerInstance, h } from './index-dd1fc9a4.js';
import './common-ecdc423b.js';
import './IntersectionHelper-2c725527.js';
import { H as Heading } from './Heading-224a452f.js';
import { g as getProps } from './tools-9397f0ed.js';
var UIHeading = /** @class */ (function () {
    function UIHeading(hostRef) {
        registerInstance(this, hostRef);
        /**
         * Which heading level to use
         * [Figma Spec](https://www.figma.com/file/JhTzz4Z6S4WDyfgtMZ1fr1/DS---Core?node-id=353%3A10)
         */
        this.level = 3;
        /**
         * Posters are extra large text, typically used in the hero section of a page.
         * _Note_: Poster only supports levels 1 - 4.
         * [Figma Spec](https://www.figma.com/file/JhTzz4Z6S4WDyfgtMZ1fr1/DS---Core?node-id=363%3A4)
         */
        this.poster = false;
    }
    UIHeading.prototype.render = function () {
        return (h(Heading, Object.assign({}, getProps(['level', 'poster', 'as'], this)), h("slot", null)));
    };
    return UIHeading;
}());
export { UIHeading as ui_heading };
