import Validation from './SchemaBuilder/Validation'; export declare type MetadataField = { onBlur?: (e: T) => void; onChange?: (e: T) => void; onChangeValue?: (value: any) => void; eventType?: 'event' | 'value'; }; export declare type Field = { onBlur?: (e: T) => void; onChange?: (e: T) => void; onChangeValue?: (value: any) => void; value: any; }; export declare type FormFlowField = { dirty: boolean; errors: Validation[]; field: Field; submitted: boolean; touched: boolean; }; declare function useFormFlowField(path: string): FormFlowField; declare function useFormFlowField(path: string, options: MetadataField): FormFlowField; export { useFormFlowField }; export default useFormFlowField;