Version: 5.0.0-alpha.555.0.0-alpha.565.0.0-alpha.575.0.0-alpha.585.0.0-alpha.595.0.0-alpha.605.0.0-alpha.615.0.0-alpha.625.0.0-alpha.635.0.0-alpha.645.0.0-alpha.655.0.0-alpha.665.0.0-alpha.675.0.0-alpha.685.0.0-alpha.695.0.0-alpha.705.0.0-alpha.715.0.0-alpha.725.0.0-alpha.735.0.0-alpha.745.0.0-alpha.755.0.0-alpha.765.0.0-alpha.775.0.0-alpha.785.0.0-alpha.795.0.0-alpha.805.0.0-alpha.815.0.0-alpha.825.0.0-alpha.835.0.0-alpha.845.0.0-alpha.855.0.0-alpha.865.0.0-alpha.875.0.0-alpha.885.0.0-alpha.895.0.0-alpha.905.0.0-alpha.915.0.0-alpha.925.0.0-alpha.935.0.0-alpha.945.0.0-alpha.955.0.0-alpha.965.0.0-alpha.975.0.0-alpha.985.0.0-alpha.995.0.0-alpha.1005.0.0-alpha.1015.0.0-alpha.1025.0.0-alpha.1035.0.0-alpha.1045.0.0-alpha.1055.0.0-alpha.1065.0.0-alpha.1075.0.0-alpha.1085.0.0-alpha.1095.0.0-alpha.1105.0.0-alpha.1115.0.0-alpha.1125.0.0-alpha.1135.0.0-alpha.1145.0.0-alpha.1155.0.0-alpha.1165.0.0-alpha.1175.0.0-alpha.1185.0.0-alpha.1195.0.0-alpha.1205.0.0-alpha.1215.0.0-alpha.1225.0.0-alpha.1235.0.0-alpha.1245.0.0-alpha.1255.0.0-alpha.1265.0.0-alpha.1275.0.0-alpha.1285.0.0-beta.05.0.0-beta.15.0.0-beta.25.0.0-beta.35.0.0-beta.45.0.0-beta.55.0.0-beta.65.0.0-beta.75.0.0-beta.85.0.0-beta.95.0.0-beta.105.0.0-beta.115.0.0-beta.125.0.0-beta.135.0.0-beta.145.0.0-beta.155.0.0-beta.165.0.0-beta.175.0.0-beta.185.0.0-beta.195.0.0-beta.205.0.0-beta.215.0.0-beta.225.0.0-beta.235.0.0-beta.245.0.0-beta.255.0.0-beta.265.0.0-beta.275.0.0-beta.285.0.0-beta.295.0.0-beta.305.0.0-beta.315.0.0-beta.325.0.0-beta.335.0.0-beta.345.0.0-beta.355.0.0-beta.365.0.0-beta.375.0.0-beta.385.0.0-beta.395.0.0-beta.405.0.0-beta.415.0.0-beta.425.0.0-beta.435.0.0-beta.445.0.0-beta.455.0.0-beta.465.0.0-beta.475.0.0-beta.485.0.0-beta.495.0.0-beta.505.0.0-beta.515.0.0-beta.525.0.0-beta.535.0.0-beta.545.0.0-beta.555.0.0-beta.565.0.0-beta.575.0.0-beta.585.0.0-beta.595.0.0-beta.605.0.0-beta.615.0.0-beta.625.0.0-beta.635.0.0-beta.645.0.0-beta.665.0.0-beta.675.0.0-beta.685.0.0-beta.40-05.0.0-beta.55-dev.20240802-144226-85a3b55d225.0.0-beta.55-dev.20240805-092432-9f940a61d65.0.0-beta.56-dev.20240809-114550-93cb3d65e75.0.0-beta.58-dev.20240919-130050-82a64487685.0.0-dev.20240529-082515-213b5e33ab
import { PolymorphicComponent } from '../utils/PolymorphicComponent';
import { FormControlTypeMap } from './FormControl.types';
/**
* Provides context such as filled/focused/error/required for form inputs.
* Relying on the context provides high flexibility and ensures that the state always stays
* consistent across the children of the `FormControl`.
* This context is used by the following components:
*
* * FormLabel
* * FormHelperText
* * Input
* * InputLabel
* You can find one composition example below and more going to [the demos](https://mui.com/material-ui/react-text-field/#components).
* ```jsx
* <FormControl>
* <InputLabel htmlFor="my-input">Email address</InputLabel>
* <Input id="my-input" aria-describedby="my-helper-text" />
* <FormHelperText id="my-helper-text">We'll never share your email.</FormHelperText>
* </FormControl>
* ```
* ⚠️ Only one `Input` can be used within a FormControl because it create visual inconsistencies.
* For instance, only one input can be focused at the same time, the state shouldn't be shared.
* Demos:
* - [Form Control](https://mui.com/base-ui/react-form-control/)
* - [Input](https://mui.com/joy-ui/react-input/)
* - [Checkbox](https://mui.com/material-ui/react-checkbox/)
* - [Radio Group](https://mui.com/material-ui/react-radio-button/)
* - [Switch](https://mui.com/material-ui/react-switch/)
* - [Text Field](https://mui.com/material-ui/react-text-field/)
* API:
* - [FormControl API](https://mui.com/base-ui/react-form-control/components-api/#form-control)
*/
declare const FormControl: PolymorphicComponent<FormControlTypeMap<{}, "div">>;
export { FormControl };