import { CommonRequestConfig } from '@teamix/utils';
interface IUseAutoSubmit {
    (onSubmit?: ((values: any) => any) | CommonRequestConfig, context?: any): any;
}
declare const useAutoSubmit: IUseAutoSubmit;
export default useAutoSubmit;
