import React, { FocusEvent, ChangeEvent, KeyboardEvent } from 'react'; import cx from 'classnames'; import styles from './BaseInput.module.scss'; export interface InputProps { autoCapitalize?: string; autoComplete?: string; autoCorrect?: string; autoFocus?: boolean; children?: React.ReactNode; className?: Parameters[0]; codeType?: boolean; disabled?: boolean; errorMessage?: string; focused?: boolean; iconButtons?: React.ReactElement[]; iconButtonWrapperClassName?: Parameters[0]; id: string; inputClassName?: Parameters[0]; inputMode?: 'decimal' | 'email' | 'none' | 'numeric' | 'search' | 'tel' | 'text' | 'url'; isDarkMode?: boolean; label: string; labelClassName?: Parameters[0]; large?: boolean; maxLength?: number; minLength?: number; name?: string; note?: React.ReactNode; noteIcon?: React.ReactElement; noteId?: string; onBlur?: (event: FocusEvent) => void; onChange: (event: ChangeEvent) => void; onFocus?: (event: FocusEvent) => void; onKeyDown?: (event: KeyboardEvent) => void; onKeyPress?: (event: KeyboardEvent) => void; pattern?: string; placeholder?: string; prefix?: (callbacks: { onFocus: () => void; onBlur: () => void; }) => React.ReactElement; prefixClassName?: Parameters[0]; readOnly?: boolean; ref?: any; required?: boolean; value?: string; } export interface Props extends InputProps { type: string; } export declare const BaseInput: React.ForwardRefExoticComponent; export declare const InputAlert: React.FC>; export declare const InputNote: React.FC>; export default BaseInput; export { styles }; //# sourceMappingURL=index.d.ts.map