import React from 'react'; import type { DialogActionsProps } from '@mui/material'; export interface ActionsRenderProps { onReset?: () => void | Promise; onClose?: () => void | Promise; onFinish?: () => void | Promise; onKeepOrigin?: () => void | Promise; resetText?: React.ReactNode; okText?: React.ReactNode; cancelText?: React.ReactNode; originText?: React.ReactNode; /** 显示Reset-重置按钮? */ showReset?: boolean; /** 显示OK-确认按钮? */ showOk?: boolean; /** 显示Cancel-取消按钮? */ showCancel?: boolean; /** 显示Origin-使用原图按钮? */ showOrigin?: boolean; /** 传递给底部按钮区域DialogActions组件的props */ actionsProps?: DialogActionsProps; onCancel?: () => any | (() => Promise); } export declare const ActionsRender: (props: ActionsRenderProps) => React.JSX.Element;