/**
 * Copyright 2023 Kapeta Inc.
 * SPDX-License-Identifier: MIT
 */
import React from 'react';
import { FormInputProps } from './FormInput';
export declare enum FormFieldType {
    DATE = "date",
    EMAIL = "email",
    NUMBER = "number",
    PASSWORD = "password",
    STRING = "string",
    TEXT = "text",
    CHECKBOX = "checkbox",
    RADIO = "radio",
    ENUM = "enum",
    ENUM_MULTI = "enum_multi"
}
interface SharedFormFieldProps {
    label?: string;
    validation?: any[];
    help?: string;
    options?: string[] | {
        [key: string]: string;
    };
    disabled?: boolean;
    readOnly?: boolean;
    autoFocus?: FormInputProps['autoFocus'];
    variant?: FormInputProps['variant'];
    onFocus?: FormInputProps['onFocus'];
    onBlur?: FormInputProps['onBlur'];
    autoComplete?: FormInputProps['autoComplete'];
}
export interface FormFieldProps extends SharedFormFieldProps {
    name: string;
    type?: FormFieldType;
}
export declare const FormField: (props: FormFieldProps) => React.JSX.Element;
export {};
