import React from "react";
import { FieldProps } from "../";
import { FieldContextType } from "../types";
export declare function useFieldName(): FieldContextType;
declare function FieldComponent<T extends Record<string, any> = Record<string, any>>({ name, label, as, isRequired, hideError, className, children, }: FieldProps<T>): React.JSX.Element;
export declare const Field: React.MemoExoticComponent<typeof FieldComponent>;
export {};
