import { default as EaBase } from '../../core/EaBase'; declare const TEXT_VARIANT_TYPES: readonly ["primary", "success", "warning", "danger", "info", "normal"]; type TextVariantType = (typeof TEXT_VARIANT_TYPES)[number]; declare const TEXT_SIZE_TYPES: readonly ["large", "medium", "small"]; type TextSizeType = (typeof TEXT_SIZE_TYPES)[number]; /** * @summary 文本组件,用于文本的常见操作,支持多种类型、尺寸、截断和标签覆盖。 * @status stable * @since 3.0 * * @slot default - 默认插槽,用于文本内容。 * * @csspart container - 容器元素。 * * @cssproperty --ea-text-line-clamp - 截断行数,默认为 0。 * @cssproperty --ea-text-primary-color - 主色文本颜色。 * @cssproperty --ea-text-success-color - 成功文本颜色。 * @cssproperty --ea-text-info-color - 信息文本颜色。 * @cssproperty --ea-text-warning-color - 警告文本颜色。 * @cssproperty --ea-text-danger-color - 危险文本颜色。 * @cssproperty --ea-text-small-font-size - 小号字体大小。 * @cssproperty --ea-text-medium-font-size - 中号字体大小。 * @cssproperty --ea-text-large-font-size - 大号字体大小。 */ export declare class EaText extends EaBase { private _container; variant: TextVariantType; size: TextSizeType; truncated: boolean; lineClamp: number; tag: string; updateContainerClasslist(): string; /** * 重新渲染组件模板 */ private _reRender; /** * 当 truncated 或 line-clamp 启用时,自动将文本内容设置为容器 title */ private _updateTitle; html(): string; $mount(): void; } export default EaText; //# sourceMappingURL=index.d.ts.map