import { ChangeEvent } from 'react'; declare type Props = { name: string; label?: string; onTextChange: (e: ChangeEvent) => void; value: string; placeholder?: string; error?: string | null | boolean; }; declare const FlatInput: ({ name, label, value, placeholder, onTextChange, error, }: Props) => JSX.Element; export default FlatInput;