import { FC } from 'react';

export interface DrawerOperationProps {
	loading?: boolean;
	okText?: string;
	cancelText?: string;
	onOkClick: () => void;
	onCancelClick: () => void;
}
export declare const DrawerOperation: FC<DrawerOperationProps>;
export declare type DrawerFormProps = {
	/**
	 * drawer 标题栏
	 */
	title: string;
	/**
	 * 显示drawer
	 */
	visible?: boolean;
	/**
	 * 当前的操作按钮执行中的状态
	 */
	loading?: boolean;
	/**
	 * 整个drawer页面级的spinning <Page loading />
	 */
	pageLoading?: boolean;
	/**
	 * mask点击关闭
	 */
	maskClosable?: boolean;
	/**
	 * drawer确认按钮点击事件
	 */
	onDrawerOk: () => void;
	/**
	 * drawer关闭点击事件
	 */
	onDrawerClose: () => void;
};
export declare const DrawerWraper: FC<DrawerFormProps>;

export {};
