import { FieldInputProps, FormikProps } from 'formik'; import React from 'react'; export interface ISelectOption { label: string | number; value?: string | number; [key: string]: any; } export interface ICustomField { onChange?: (e: React.ChangeEvent) => void; label: string; field: FieldInputProps; form: FormikProps; theme: 'dark' | 'light'; type?: string; selectOptions?: ISelectOption[]; inputRef?: { current: HTMLInputElement | null; } | ((node: HTMLInputElement | null) => void); multiline?: boolean; minRows?: string | number; maxRows?: string | number; } export interface IOtherProps { [key: string]: any; } export declare const CustomField: ({ label, type, field, selectOptions, form: { touched, errors, submitCount }, theme, inputProps: pInputProps, InputProps, inputRef, onChange, multiline, minRows, maxRows, disabled, }: ICustomField & IOtherProps) => JSX.Element;