import { UseFormProps, FieldValues, SubmitHandler, FormProviderProps } from 'react-hook-form';
export type FormProps<TFieldValues extends FieldValues, TContext extends object = object> = {
    classname?: string;
    reactHookFormProps?: UseFormProps<TFieldValues, TContext>;
    children: React.ReactNode;
    onSubmit?: SubmitHandler<TFieldValues>;
};
export type CustomFormProviderProps = FormProviderProps & {
    formProps: UseFormProps;
};
export declare const Form: <TFieldValues extends FieldValues = FieldValues, TContext extends object = object>({ classname, reactHookFormProps, children, onSubmit, }: FormProps<TFieldValues, TContext>) => import("react/jsx-runtime").JSX.Element;
