import type { ICoreRef } from '@schema-render/core-react';
import type { FormEvent, RefObject } from 'react';
import type { IInnerFormRenderProps } from '../typings';
interface IUseActionsParams {
    props: IInnerFormRenderProps;
    coreRef: RefObject<ICoreRef>;
}
/**
 * 操作行为按钮事件
 */
export default function useActions({ props, coreRef }: IUseActionsParams): {
    handleFormSubmit: (event: FormEvent<HTMLFormElement>) => void;
    handleSubmit: () => void;
    handleReset: () => void;
    actionsLoading: {
        submit: boolean;
        reset: boolean;
    };
    isLoading: boolean;
};
export {};
