import { ButtonProps } from 'antd'; export declare type DrawerFooterProps = { /** * @description 点击OK动作处理函数 */ onOk?: () => void; /** * @description OK按钮的loading状态 */ loading?: boolean; /** * @description 点击取消动作处理函数 */ onCancel: () => void; /** * @description OK按钮文案 */ okText?: string; /** * @description OK按钮类型 */ okType?: 'primary' | 'link' | 'text' | 'ghost' | 'default' | 'dashed' | undefined; /** * @description 取消按钮文案 */ cancelText?: string; buttons?: ((ButtonProps & { text: string; isClose?: boolean; }) | 'close')[]; }; declare const _default: (props: DrawerFooterProps) => null; export default _default;