import { FocusEvent, ChangeEvent, MouseEvent, FormEvent } from 'react'; import { Autocomplete, InputTypes } from './Types'; import { BaseInput } from './BaseInput'; interface Props { autoComplete?: Autocomplete; autoFocus?: boolean; className?: string; children?: any; disabled?: boolean; form?: string; formNoValidate?: boolean; id?: string; max?: number; maxLength?: number; min?: number; minLength?: number; name: string; pattern?: string; placeholder?: string; readOnly?: boolean; required?: boolean; size?: number; step?: number; value?: string; type?: InputTypes; label?: string; invalid?: boolean; requiredError?: string; patternError?: string; onBlur?: (event: FocusEvent) => void; onChange?: (event: ChangeEvent) => void; onContextMenu?: (event: MouseEvent) => void; onFocus?: (event: FocusEvent) => void; onInput?: (event: FormEvent) => void; } interface State { value: string; error: string; invalid: boolean; } export declare class BootstrapTextEdit extends BaseInput { static requiredError: string; static patternError: string; regex: RegExp; patternError: string; hasLostFocus: boolean; touched: boolean; static sedDetaulErrorMessages(requiredError: string, patternError: string): void; constructor(props: Props); render(): JSX.Element; componentDidUpdate(prevProps: Props): void; validateInput(): boolean; } export {};