/** */ import * as React from 'react'; import { FieldProps } from './fieldProps'; import { Form } from '../../forms'; export declare type InputFieldType = FieldProps & ExtraFieldProps; export declare function wrapFieldsWithMeta(Field: React.FunctionComponent> | React.ComponentClass>): (props: InputFieldType) => JSX.Element; export declare function wrapFieldWithError(Field: React.FunctionComponent> | React.ComponentClass>): (props: InputFieldType) => JSX.Element; interface FieldMetaProps extends React.HTMLAttributes { name: string; children: any; label?: string | boolean; description?: string; error?: string; margin?: boolean; index?: number; tinaForm: Form; } export declare const FieldMeta: ({ name, label, description, error, margin, children, index, tinaForm, ...props }: FieldMetaProps) => JSX.Element; export declare const FieldWrapper: ({ margin, children, ...props }: { margin: boolean; children: React.ReactNode; } & Partial, HTMLDivElement>, "key" | keyof React.HTMLAttributes>>) => JSX.Element; export interface FieldLabel extends React.HTMLAttributes { children?: any | any[]; className?: string; name?: string; } export declare const FieldLabel: ({ children, className, name, ...props }: FieldLabel) => JSX.Element; export declare const FieldDescription: ({ children, className, ...props }: { children?: any | any[]; className?: string; }) => JSX.Element; export declare const FieldError: ({ children, className, ...props }: { children?: any | any[]; className?: string; }) => JSX.Element; export {};