import { UseFieldProps, UseFieldParams } from '../hooks/useField';
import React from 'react';
export declare type WithFieldProps<Value> = UseFieldProps<Value>;
declare function withField<Value, Props>(props: WithFieldProps<Value>): (Component: React.ComponentType<Props>) => React.FunctionComponent<Props & {
    field: UseFieldParams<Value>;
}>;
export default withField;
