import React from "react";
import { SerializedStyles } from "@emotion/react";
export interface TextareaProps {
    width?: number | string;
    height?: number | string;
    value?: string;
    center?: boolean;
    fontSize?: string;
    placeholder?: string;
    content?: React.MutableRefObject<string>;
    readOnly?: boolean;
    cssStyle?: SerializedStyles;
    className?: string;
    style?: React.CSSProperties;
    onChange?: React.ChangeEventHandler<HTMLTextAreaElement>;
    onKeyDown?: React.KeyboardEventHandler<HTMLTextAreaElement>;
    onBlur?: React.FocusEventHandler<HTMLTextAreaElement>;
    onClick?: React.MouseEventHandler<HTMLTextAreaElement>;
}
/**
 * A ez way to handle input correctly
 * @param placeholder {string} 默认占位符
 * @param content {string} 默认值
 * @returns
 */
export declare const Textarea: React.FC<TextareaProps>;
