import type { ExtractPropTypes } from 'vue'
export type TextType = 'default' | 'primary' | 'success' | 'warning' | 'error'
export declare const textProps: {
  /**
   * 主题类型
   * 类型：string
   * 可选值：'default' /'primary' / 'error' / 'warning' / 'success'
   * 默认值：'default'
   */
  type: {
    type: import('vue').PropType<TextType>
    default: TextType
  }
  /**
   * 文字
   * 类型：string
   * 默认值：'空字符串'
   */
  text: {
    type: import('vue').PropType<string>
    default: string
  }
  /**
   * 字体大小
   * 类型：string
   * 默认值：'空字符串'
   */
  size: {
    type: import('vue').PropType<string>
    default: string
  }
  /**
   * 文本处理的匹配模式
   * 可选值：'text-普通文本' / 'date - 日期' / 'phone - 手机号' / 'name - 姓名' / 'price - 金额'
   * 类型：string
   * 默认值：'text'
   */
  mode: {
    type: import('vue').PropType<string>
    default: string
  }
  /**
   * 文字装饰，下划线，中划线等
   * 可选值：'underline/line-through/overline'
   * 类型：string
   * 默认值：'none'
   */
  decoration: {
    type: import('vue').PropType<string>
    default: string
  }
  /**
   * mode=phone时，点击文本是否拨打电话
   * 类型：boolean
   * 默认值：false
   */
  call: {
    type: BooleanConstructor
    default: boolean
  }
  /**
   * 是否粗体，默认normal
   * 类型：boolean
   * 默认值：false
   */
  bold: {
    type: BooleanConstructor
    default: boolean
  }
  /**
   * 是否脱敏,当mode为phone和name时生效
   * 类型：boolean
   * 默认值：false
   */
  format: {
    type: BooleanConstructor
    default: boolean
  }
  /**
   * 文本颜色
   * 类型：string
   * 默认值：''
   */
  color: {
    type: import('vue').PropType<string>
    default: string
  }
  /**
   * 前置插槽
   * 类型：string
   * 默认值：''
   */
  prefix: StringConstructor
  /**
   * 后置插槽
   * 类型：string
   * 默认值：''
   */
  suffix: StringConstructor
  /**
   * 文本显示的行数，如果设置，超出此行数，将会显示省略号。最大值为5。
   */
  lines: NumberConstructor
  /**
   * 文本行高
   * 类型：string
   * 默认值：''
   */
  lineHeight: {
    type: import('vue').PropType<string>
    default: string
  }
  /**
   * 自定义根节点样式
   */
  customStyle: {
    type: import('vue').PropType<string>
    default: string
  }
  /**
   * 自定义根节点样式类
   */
  customClass: {
    type: import('vue').PropType<string>
    default: string
  }
}
export type TextProps = ExtractPropTypes<typeof textProps>
