import * as React from 'react';
import { TextFieldProps } from '@mui/material/TextField';
import { ComponentsOverrides } from '@mui/material/styles';
import { CommonInputProps } from './CommonInputProps';
/**
* Form input to edit a time string value in the "HH:mm" format (e.g. '17:45'),
* using the browser locale for the timezone.
*
* Renders a time picker or a text input depending on the browser.
*
* This component works with Date objects to handle the timezone using the browser locale.
* You can still pass string values as long as those can be converted to a JavaScript Date object.
*
* @example
* import { Edit, SimpleForm, TimeInput } from 'react-admin';
*
* const PostEdit = () => (
*
*
*
*
*
* );
*/
export declare const TimeInput: (props: TimeInputProps) => React.JSX.Element;
export type TimeInputProps = CommonInputProps & Omit;
declare const PREFIX = "RaTimeInput";
declare module '@mui/material/styles' {
interface ComponentNameToClassKey {
[PREFIX]: 'root';
}
interface ComponentsPropsList {
[PREFIX]: Partial;
}
interface Components {
[PREFIX]?: {
defaultProps?: ComponentsPropsList[typeof PREFIX];
styleOverrides?: ComponentsOverrides>[typeof PREFIX];
};
}
}
export {};
//# sourceMappingURL=TimeInput.d.ts.map