import { LitElement } from 'lit'; import { TextAlignment, TextWordBreak, TextColor, TextKind } from '@viasat/beam-shared/components/text'; import { ThemeTypes } from '@viasat/beam-shared/utils/constants'; /** * `bm-text` * Text component that supports both text content and children, including other web components * @slot default - The text content for the Text component or pass the `text` attribute to set the text content * * @example * // Using with text property * * * // Using with children * Hello World * * // Using with complex children * * Hello World * */ export declare class BmText extends LitElement { static styles: import('lit').CSSResult; /** * The text content. If provided, will be used instead of slot content. */ text?: string; /** * Specify the theme of the Text. By default it inherits the theme from the parent */ theme?: ThemeTypes; /** * Specify if Text displays as a heading, body, detail, or label variant * @default 'body-md' */ kind: TextKind; /** * Specifies the color of the text */ color?: TextColor; /** * Sets the css word-break property */ wordBreak?: TextWordBreak; /** * Sets css text-align to either start, center, or end */ alignment?: TextAlignment; /** * Specify if Text is bold. This prop only works for body `kinds` */ bold: boolean; /** * Changes the css display to block */ block: boolean; /** * Truncates css text with ellipsis if it exceeds the container */ truncate: boolean; /** * Reduces the line-height of body and label `kind` variants */ compact: boolean; /** * Adds a strikethrough to the text */ strikethrough: boolean; /** * Underlines the text */ underline: boolean; /** * Italicizes the text */ italic: boolean; protected getClassNames(): string; render(): import('lit-html').TemplateResult; } declare global { interface HTMLElementTagNameMap { 'bm-text': BmText; } } //# sourceMappingURL=Text.d.ts.map