import { HtmlHTMLAttributes, ReactElement } from 'react'; import PropTypes from 'prop-types'; import { Record } from '../../features/core'; declare const FormInput: { = Record>(props: FormInputProps): JSX.Element; propTypes: { classes: PropTypes.Requireable; input: PropTypes.Requireable; }; displayName: string; }; export interface FormInputProps = Record> extends HtmlHTMLAttributes { basePath: string; input: ReactElement<{ label?: string; source?: string; id?: string; [key: string]: unknown; }>; margin?: 'none' | 'normal' | 'dense'; record?: RecordType; resource?: string; variant?: 'standard' | 'outlined' | 'filled'; } export default FormInput;