import { LitElement, TemplateResult } from "lit-element"; import { AriaRole } from "../util/aria"; /** * Title levels. */ export declare type TitleLevel = 1 | 2 | 3 | 4 | 5 | 6; /** * Properties of the title. */ export interface ITitleProperties { level: number; nowrap: boolean; role: AriaRole; } /** * Indicate the start of a new section. * @slot - Default content. * @cssprop --title-margin - Margin * @cssprop --title-line-height - Line height * @cssprop --title-font-family - Font family * @cssprop --title-font-weight - Font weight * @cssprop --title-font-size-level-1 - Font size of heading level 1 * @cssprop --title-font-size-level-2 - Font size of heading level 2 * @cssprop --title-font-size-level-3 - Font size of heading level 3 * @cssprop --title-font-size-level-4 - Font size of heading level 4 * @cssprop --title-font-size-level-5 - Font size of heading level 5 * @cssprop --title-font-size-level-6 - Font size of heading level 6 */ export declare class Title extends LitElement implements ITitleProperties { static styles: import("lit-element").CSSResult[]; /** * Level of the title. * @attr */ level: TitleLevel; /** * Caps the title element with ellipsis if overflowing. * @attr */ nowrap: boolean; /** * Role of the title. * @attr */ role: AriaRole; /** * Reflect the updates when properties change. * @param props */ protected updated(props: Map): void; /** * Returns the template for the element. */ protected render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { "wl-title": Title; } }