import React from "react";
import { FilledTextFieldProps as MuiTextFieldProps } from "@mui/material/TextField";
import { EndAdornmentProps } from "./EndAdornment";
import { InputProps } from "./Input";
export interface TextFieldProps extends Omit<MuiTextFieldProps, "variant" | "color" | "size" | "InputProps"> {
    /**
     * The color of the component. The prop defaults to the value (`'secondary'`)
     */
    color?: InputProps["color"];
    /**
     * The size of the component. The prop defaults to the value (`'md'`)
     */
    size?: InputProps["size"];
    /**
     * Props passing to the `InputProps` element.
     */
    InputProps?: Omit<InputProps, "overrideErrorAdornment">;
    /**
     * If not undefined, an action button is rendered as part of end adornment.
     */
    actionButtonProps?: EndAdornmentProps["actionButtonProps"];
}
declare const TextField: React.FC<TextFieldProps>;
export default TextField;
