import React from 'react';
import { DrawerProps, ButtonProps } from 'uiw';
/**
 * ProDrawer 组件继承于https://uiwjs.github.io/#/components/drawer
 * @param {boolean} visible 显示隐藏
 * @param {string} title 标题
 * @param {()=>void} onClose 关闭事件
 * @param {number} width Drawer宽
 * @param {Array<{label?:string,onPress?:()=>void,show?:boolean,loading?:boolean}>} buttons 按钮集合(label:"文本",onPress:点击事件,show:是否展示)
 * @param {React.ReactNode} children
 * @returns
 */
interface ButtonsProps extends ButtonProps {
    label?: string;
    show?: boolean;
    path?: string;
    disabled?: boolean;
}
interface ProDrawerProps extends DrawerProps {
    visible: boolean;
    title?: string;
    onClose?: any;
    width?: number;
    buttons?: Array<ButtonsProps>;
    children?: React.ReactNode;
}
declare function ProDrawer(props: ProDrawerProps): JSX.Element;
declare const _default: React.MemoExoticComponent<typeof ProDrawer>;
export default _default;
