/// import { ArrayHelpers } from 'formik'; import { NavFrontendSkjemaFeil, TypedFormInputValidationProps } from '../../types'; export interface FormikFileInputProps { name: FieldName; label: string; acceptedExtensions: string; feil?: NavFrontendSkjemaFeil; onFilesSelect: (files: File[], arrayHelpers: ArrayHelpers) => void; onClick?: () => void; } declare function FormikFileInput({ label, name, acceptedExtensions, validate, onFilesSelect, feil, onClick, }: FormikFileInputProps & TypedFormInputValidationProps): JSX.Element; export default FormikFileInput;