import React, { ReactNode } from "react";
import { IconType } from "../adpIcon";
export declare enum sizes {
    MD = "md",
    LG = "lg"
}
export type Size = `${sizes}`;
export interface Props extends Omit<React.ComponentPropsWithoutRef<"input">, "css" | "size"> {
    /**
     *  Regular static label.
     */
    label?: string | ReactNode;
    /**
     * Icon click handler
     */
    onIconClick?: () => void;
    /**
     * Placement of the icon
     */
    iconPlacement?: "start" | "end";
    /**
     * Size of the Textfield.
     * @default md
     */
    size?: Size;
    /**
     * Prefix the input with an icon.
     */
    icon?: IconType;
    /**
     * Pass a ref to the inner input element
     */
    ref?: React.Ref<HTMLInputElement>;
    /**
     *  Additional information or guidance displayed below the text field.
     */
    helperText?: string | ReactNode;
    /**
     *  Pass a boolean value to indicate if the text field is in an error state.
     */
    error?: boolean;
}
export declare const TextField: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
