import React from 'react';
import { UseFieldArrayProps, UseFieldArrayParams } from '../hooks/useFieldArray';
export declare type WithFieldArrayProps<Value> = UseFieldArrayProps<Value>;
declare function withFieldArray<Value, Props>(props: WithFieldArrayProps<Value>): (Component: React.ComponentType<Props>) => React.FunctionComponent<Props & {
    field: UseFieldArrayParams<Value>;
}>;
export default withFieldArray;
