import React from 'react'; import { ColumnProps, CommonPlacement } from '../types/common-types'; import { FieldValidation } from './Form'; import { SelectOption } from '../utils/select-utils'; export type FormFieldProps = { checked?: boolean; comment?: string; id?: string; info?: { content: string; placement: CommonPlacement; }; label?: string; labelCol?: ColumnProps | number; maxLength?: number; minLength?: number; name: string; onBlur?: () => void; onChange?: (value: any, event?: React.SyntheticEvent) => void; required?: boolean; value?: any; /** * Select options. Option format: {_labelKey_: [label], _valueKey_: [value]} * * @param {(string|Object)} label Option label _(string or translation id)_ * @param {string} value Option value */ options?: SelectOption[]; }; export declare const formField: (WrappedComponent: any, validationRules?: ((target: FormFieldProps, value: any) => FieldValidation | undefined) | undefined) => (props: FormFieldProps) => import("react/jsx-runtime").JSX.Element;