import React from 'react';
import { Resolver } from 'react-hook-form';
declare type useFormPersistConfig = {
    storage?: Storage;
    exclude?: Array<string>;
    include?: Array<string>;
    onDataRestored?(dataRestored: Object): void;
    validate?: boolean;
    dirty?: boolean;
};
export interface IFormComponentProps {
    children: React.ReactNode;
    resolver: Resolver;
    handleOnSubmit?(data: any): void;
    defaultValues?: Record<string, string | boolean | number>;
    debug?: boolean;
    name?: string;
    persistValue?: boolean;
    persistProps?: useFormPersistConfig;
}
export declare const FormComponent: ({ children, resolver, handleOnSubmit, defaultValues, name, debug, persistValue, persistProps }: IFormComponentProps) => JSX.Element;
export default FormComponent;
