import * as React from 'react';
import { OverridableStringUnion, OverrideProps } from '@mui/types';
import { ColorPaletteProp } from '../styles/types/colorSystem.js';
import { SxProps } from '../styles/types/theme.js';
import '@mui/system';
import '../styles/types/colorScheme.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';
declare type FormControlSlot = "root";
interface FormControlPropsColorOverrides {
}
interface FormControlPropsSizeOverrides {
}
interface FormControlTypeMap
{
props: P & {
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* The color of the component. It supports those theme colors that make sense for this component.
*/
color?: OverridableStringUnion;
/**
* If `true`, the children are in disabled state.
* @default false
*/
disabled?: boolean;
/**
* If `true`, the children will indicate an error.
* @default false
*/
error?: boolean;
/**
* The content direction flow.
* @default 'vertical'
*/
orientation?: "vertical" | "horizontal";
/**
* If `true`, the user must specify a value for the input before the owning form can be submitted.
* If `true`, the asterisk appears on the FormLabel.
* @default false
*/
required?: boolean;
/**
* The size of the component.
* @default 'md'
*/
size?: OverridableStringUnion<"sm" | "md" | "lg", FormControlPropsSizeOverrides>;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps;
};
defaultComponent: D;
}
declare type FormControlProps = OverrideProps, D>;
interface FormControlOwnerState extends FormControlProps {
}
export { FormControlOwnerState, FormControlProps, FormControlPropsColorOverrides, FormControlPropsSizeOverrides, FormControlSlot, FormControlTypeMap };