import React__default from 'react';
import { OverridableStringUnion, OverrideProps } from '@mui/types';
import { UseInputParameters } from '@mui/base/InputUnstyled';
import { InputClasses } from './inputClasses.js';
import { ColorPaletteProp } from '../styles/types/colorSystem.js';
import { VariantProp } from '../styles/types/variants.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';
declare type InputSlot = "root" | "input" | "startDecorator" | "endDecorator";
interface InputPropsVariantOverrides {
}
interface InputPropsColorOverrides {
}
interface InputPropsSizeOverrides {
}
interface InputTypeMap
{
props: P & Omit & {
"aria-describedby"?: string;
"aria-label"?: string;
"aria-labelledby"?: string;
/**
* This prop helps users to fill forms faster, especially on mobile devices.
* The name can be confusing, as it's more like an autofill.
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
*/
autoComplete?: string;
/**
* If `true`, the `input` element is focused during the first mount.
*/
autoFocus?: boolean;
/**
* Class name applied to the root element.
*/
className?: string;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial;
/**
* The color of the component. It supports those theme colors that make sense for this component.
* @default 'neutral'
*/
color?: OverridableStringUnion;
/**
* The components used for each slot inside the InputBase.
* Either a string to use a HTML element or a component.
*/
components?: {
Root?: React__default.ElementType;
Input?: React__default.ElementType;
};
/**
* The props used for each slot inside the Input.
* @default {}
*/
componentsProps?: {
root?: React__default.ComponentPropsWithRef<"div">;
input?: React__default.ComponentPropsWithRef<"input">;
};
/**
* Trailing adornment for this input.
*/
endDecorator?: React__default.ReactNode;
/**
* If `true`, the button will take up the full width of its container.
* @default false
*/
fullWidth?: boolean;
/**
* The id of the `input` element.
*/
id?: string;
/**
* Name attribute of the `input` element.
*/
name?: string;
onKeyDown?: React__default.KeyboardEventHandler;
onKeyUp?: React__default.KeyboardEventHandler;
/**
* The short hint displayed in the `input` before the user enters a value.
*/
placeholder?: string;
/**
* It prevents the user from changing the value of the field
* (not from interacting with the field).
*/
readOnly?: boolean;
/**
* Leading adornment for this input.
*/
startDecorator?: React__default.ReactNode;
/**
* The size of the component.
* @default 'md'
*/
size?: OverridableStringUnion<"sm" | "md" | "lg", InputPropsSizeOverrides>;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps;
/**
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
* @default 'plain'
*/
type?: string;
/**
* The value of the `input` element, required for a controlled component.
*/
value?: unknown;
/**
* The variant to use.
* @default 'outlined'
*/
variant?: OverridableStringUnion;
};
defaultComponent: D;
}
declare type InputProps = OverrideProps, D>;
export { InputProps, InputPropsColorOverrides, InputPropsSizeOverrides, InputPropsVariantOverrides, InputSlot, InputTypeMap, InputProps as default };