import React from "react"; export type InputType = "text" | "number" | "phone" | "email" | "password" | "search" | "url" | "date" | "time" | "datetime-local" | "month" | "week" | "color"; export type TextFieldProps = { type?: InputType; value?: T; onChange?: (event: React.ChangeEvent) => void; label?: React.ReactNode; multiline?: boolean; disabled?: boolean; invisible?: boolean; error?: boolean; endAdornment?: React.ReactNode; autoFocus?: boolean; placeholder?: string; size?: "smallest" | "small" | "medium" | "large"; className?: string; style?: React.CSSProperties; inputClassName?: string; inputStyle?: React.CSSProperties; inputRef?: React.ForwardedRef; /** * Maximum number of rows to display. */ maxRows?: number | string; /** * Minimum number of rows to display. * @default 1 */ minRows?: number | string; } & Omit, "size">; export declare const TextField: React.ForwardRefExoticComponent<{ type?: InputType; value?: string | number | undefined; onChange?: (event: React.ChangeEvent) => void; label?: React.ReactNode; multiline?: boolean; disabled?: boolean; invisible?: boolean; error?: boolean; endAdornment?: React.ReactNode; autoFocus?: boolean; placeholder?: string; size?: "smallest" | "small" | "medium" | "large"; className?: string; style?: React.CSSProperties; inputClassName?: string; inputStyle?: React.CSSProperties; inputRef?: React.ForwardedRef; /** * Maximum number of rows to display. */ maxRows?: number | string; /** * Minimum number of rows to display. * @default 1 */ minRows?: number | string; } & Omit, "size"> & React.RefAttributes>;