import * as React from "react";
import { type ReactNode } from "react";
import { type TIconType } from "../adpIcon";
type TSize = "md" | "lg";
export interface ITextFieldProps extends Omit<React.ComponentPropsWithoutRef<"input">, "css" | "size"> {
    /**
     *  Regular static label.
     */
    label?: string | ReactNode;
    /**
     * Size of the Textfield.
     * @default md
     */
    size?: TSize;
    /**
     * Pass a ref to the inner input element
     */
    ref?: React.Ref<HTMLInputElement>;
    /**
     *  Additional information or guidance displayed below the text field.
     */
    helperText?: ReactNode;
    /**
     *  Pass a boolean value to indicate if the text field is in an error state.
     */
    error?: boolean;
    /**
     * Icon to be displayed before the input.
     * @description
     * This prop accepts either an IconType (string) or a ReactNode.
     * - If an IconType is provided, it will render an ADPIcon component.
     * - If a ReactNode is provided, it will be rendered as-is.
     */
    prefixIcon?: TIconType | ReactNode;
    /**
     * Icon to be displayed after the input.
     * @description
     * This prop accepts either an IconType (string) or a ReactNode.
     * - If an IconType is provided, it will render an ADPIcon component.
     * - If a ReactNode is provided, it will be rendered as-is.
     */
    suffixIcon?: TIconType | ReactNode;
}
/**
 * TextField component for collecting text input from users.
 */
export declare const TextField: React.ForwardRefExoticComponent<Omit<ITextFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
export {};
