import * as React from 'react'; import { OverrideProps } from '@mui/types'; import { FormHelperTextProps } from '../FormHelperText/FormHelperTextProps.js'; import { FormLabelProps } from '../FormLabel/FormLabelProps.js'; import InputProps from '../Input/InputProps.js'; import '../styles/types/theme.js'; import '@mui/system'; import '../styles/types/colorScheme.js'; import '../styles/types/colorSystem.js'; import '../styles/types/focus.js'; import '../styles/types/shadow.js'; import '../styles/types/radius.js'; import '../styles/types/typography.js'; import '../styles/types/variants.js'; import '../FormHelperText/formHelperTextClasses.js'; import '@mui/base/InputUnstyled'; import '../Input/inputClasses.js'; declare type TextFieldSlot = "root"; declare type InputRootKeys = "autoComplete" | "autoFocus" | "disabled" | "error" | "required" | "fullWidth" | "placeholder" | "defaultValue" | "value" | "onChange" | "onFocus" | "onBlur" | "type" | "variant" | "color" | "size" | "startDecorator" | "endDecorator" | "sx"; interface TextFieldTypeMap

{ props: P & Pick & { components?: { Root?: React.ElementType; Label?: React.ElementType; Input?: React.ElementType; HelperText?: React.ElementType; }; componentsProps?: { root?: React.ComponentPropsWithRef<"div">; label?: FormLabelProps; input?: Omit; helperText?: FormHelperTextProps; }; /** * The id of the `input` element. * Use this prop to make `label` and `helperText` accessible for screen readers. */ id?: string; /** * The label content. */ label?: React.ReactNode; /** * Name attribute of the `input` element. */ name?: string; /** * The short hint displayed in the `input` before the user enters a value. */ placeholder?: string; /** * The helper text content. */ helperText?: React.ReactNode; }; defaultComponent: D; } declare type TextFieldProps = OverrideProps, D>; interface TextFieldOwnerState extends TextFieldProps { } export { TextFieldOwnerState, TextFieldProps, TextFieldSlot, TextFieldTypeMap };