import { FunctionReturningPromise } from 'react-use/lib/misc/types';
type UseSubmitHandlerProps = {
    afterSubmit?: () => void;
};
export declare function useSubmitHandler({ afterSubmit }: UseSubmitHandlerProps): import("react-use/lib/useAsyncFn").AsyncFnReturn<FunctionReturningPromise>;
export {};
