///
///
import { Target } from './getValue';
export declare type InputProps = {
name: string;
value: any;
checked?: boolean;
onChange: (ev: React.SyntheticEvent) => void;
onFocus: (ev: React.SyntheticEvent) => void;
onBlur: (ev: React.SyntheticEvent) => void;
};
export declare type MetaProps = {
error: string | null;
dirty: boolean;
touched: boolean;
visited: boolean;
active: boolean;
};
export declare type All = T & InputProps & MetaProps;
export declare type SeparatedProps = {
input: InputProps;
meta: MetaProps;
rest: T;
};
export declare type InputProp = 'checked' | 'name' | 'value' | 'onChange' | 'onFocus' | 'onBlur';
export declare type MetaProp = 'active' | 'dirty' | 'error' | 'touched' | 'visited';
declare const _default: (all: All) => SeparatedProps;
export default _default;
export declare const boolField: (value: T) => T;