import { FC, HTMLAttributes, Ref } from 'react';
import { TextFieldSize } from './types';
export interface TextFieldProps extends HTMLAttributes {
/**
* Visual size of the text field.
* Affects padding, font size, and overall height.
*
* - 'sm': Compact input
* - 'md': Default
* - 'lg': Spacious layout
*/
size?: TextFieldSize;
/**
* Shows the input in an error state.
*/
error?: boolean;
/**
* Ref forwarded to wrapper element
* Useful for programmatic control, focus, or integration.
*/
ref?: Ref;
}
/** A TextField is a UI component that allows users to input text, commonly used for forms, search bars, and other input tasks. It can support various types of data like single-line or multi-line input */
export declare const TextField: FC;