import { Dispatch, SetStateAction } from 'react'; export interface UseFormInputOptions { initialValue?: string; pattern?: string; errorMessage?: string; required?: boolean; } export interface useFormInput { inputProps: { required: boolean; pattern: string; value: string; onChange: (e: any) => void; }; setValue: Dispatch>; } export declare const useFormInput: (name: string, options?: UseFormInputOptions) => { props: { error: boolean; required: boolean | undefined; pattern: string | undefined; value: string; helperText: string; onChange: (e: any) => void; onClick: () => void; onBlur: () => void; }; setValue: Dispatch>; isValid: () => boolean | ""; };