import React from 'react';
export interface TextFieldProps extends Pick<React.HTMLAttributes<HTMLSpanElement>, 'className' | 'style' | 'onClick'> {
    /**
     * 要显示的值。
     */
    value?: React.ReactNode;
    /**
     * 当 `value` 值为 `''` `undefined` `null` 时显示的默认值。
     *
     * 默认 `'-'`。
     */
    defaultValue?: React.ReactNode;
    /**
     * 颜色。
     */
    color?: string;
    /**
     * 文字大小。
     */
    size?: string | number;
    /**
     * 前缀。
     *
     * 仅在 `value` 值不为 `''` `undefined` `null` 时显示。
     */
    prefix?: React.ReactNode;
    /**
     * 后缀。
     *
     * 仅在 `value` 值不为 `''` `undefined` `null` 时显示。
     */
    suffix?: React.ReactNode;
    /**
     * 空白字符换行。
     *
     * 默认 `false`。
     */
    whitespaceLineBreak?: boolean;
}
declare const TextField: React.FC<TextFieldProps>;
export default TextField;
