import { TextAnimationType } from './meta/types'; import { TypographyTagType } from "../../type/text"; import { TypographyTruncateType } from "../../type/text"; import { TypographyType, TypographyVariants } from "../../type/typography"; /** * @slot default - Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here. */ export declare class MdsText { private cssTextAnimationSpeed; private cssTextAnimationPlaceholderChar; private randomTextOptions; private randomText; host: HTMLMdsTextElement; /** * Specifies if the text is animated when it is rendered */ readonly animation?: TextAnimationType; /** * Specifies the HTML tag of the element */ tag: TypographyTagType; /** * Specifies the text string to the component instead of passing an HTML node */ readonly text?: string; /** * Specifies if the text shoud be truncated or should behave as a normal text */ readonly truncate?: TypographyTruncateType; /** * Specifies the font typography of the element */ readonly typography: TypographyType; /** * Specifies the variant for `typography` */ readonly variant?: TypographyVariants; private animateText; private updateCSSCustomProps; componentWillRender(): void; componentDidLoad(): void; textHandler(newValue?: string): void; render(): any; }