import { CustomElement } from "../../internal/custom-element.js"; import { PropertyValues } from "lit"; type TitleSize = (typeof TitleSize)[keyof typeof TitleSize]; declare const TitleSize: { readonly XS: "xs"; readonly SM: "sm"; readonly MD: "md"; readonly LG: "lg"; readonly XL: "xl"; readonly XXL: "xxl"; readonly DISPLAY_SM: "display-sm"; readonly DISPLAY_MD: "display-md"; readonly DISPLAY_LG: "display-lg"; readonly DISPLAY_XL: "display-xl"; }; declare global { interface HTMLElementTagNameMap { 'odx-title': OdxTitle; } } /** * @summary Title component for headings. * @status rc * @since 1.0 * * @slot - The title content. */ declare class OdxTitle extends CustomElement { static tagName: string; static styles: import("lit").CSSResult[]; /** * The heading level of the title, which determines its semantic meaning. * * The level should be a number from 1 to 6 (h1 to h6). * If not specified the title is removed from the accessibility tree, otherwise the role is set to 'heading' and aria-level is set to the value of level. */ level?: 1 | 2 | 3 | 4 | 5 | 6 | null; /** * The size of the title, which determines its font size and line height. * * Inherits the font-size and line-height from the parent element if not specified. */ size?: TitleSize | null; protected willUpdate(props: PropertyValues): void; } export { OdxTitle, TitleSize };