import React from "react";
import { TextFieldProps } from "./TextField";
import { ButtonProps } from "./Button";
import { InputProps } from "./Input";
export interface EndAdornmentProps {
    /**
     * The size of the component. The prop defaults to the value (`'md'`)
     */
    size: TextFieldProps["size"];
    /**
     * The error icon.
     */
    error?: TextFieldProps["error"];
    /**
     * The ending adornment that's neither error icon nor action button.
     */
    endAdornment?: InputProps["endAdornment"];
    /**
     * If not undefined, an action button is rendered as part of end adornment.
     */
    actionButtonProps?: {
        disabled: ButtonProps["disabled"];
        children: ButtonProps["children"];
        color?: ButtonProps["color"];
        onClick: ButtonProps["onClick"];
    };
}
declare const EndAdornment: React.FC<EndAdornmentProps>;
export default EndAdornment;
