import React from "react"; import { CharacterCounterProps } from "@material/react-text-field/character-counter"; import { HelperTextProps } from "./text-field-helper-text"; export interface TextFieldProps extends Omit, "ref" | "dense"> { fullWidth?: boolean; helperText?: string | React.ReactElement | null; characterCounter?: React.ReactElement; label?: string; leadingIcon?: React.ReactElement; onLeadingIconSelect?: () => void; onTrailingIconSelect?: () => void; textarea?: boolean; trailingIcon?: React.ReactElement; isHelperTextPersistent?: boolean; large?: boolean; error?: string | null | boolean; externalLabel?: boolean; placeholder?: string; list?: string; className?: string; required?: boolean; color?: string; outlined?: boolean; onChange?: (e: React.FormEvent) => void; } declare const TextField: React.ForwardRefExoticComponent>; export default TextField;