import React, { ReactNode } from 'react';
export interface IBasicTableDrawerProps {
    footer?: null | ReactNode;
    onClose: () => void;
    visible: boolean;
    showColumns: {
        title: string;
        columns: object[];
        initialValue: object;
    }[];
    /** 权限配置 addPerm: 新增权限，控制新增按钮的显示 editPerm：编辑权限，控制编辑按钮的显示 delPerm：删除权限，控制删除按钮的显示 */
    authority: {
        addPerm: boolean;
        editPerm: boolean;
        delPerm: boolean;
    };
    callbackEdit: (key: number, fields: any) => void;
    callbackAdd: (key: number, fields: any) => void;
    callbackRemove: (key: number, fields: any) => void;
    type: 'add' | 'edit';
    renderSelfComponent?: () => ReactNode | null;
    renderFooterComponent?: () => ReactNode | null;
}
declare const BasicTableDrawer: React.FC<IBasicTableDrawerProps>;
export default BasicTableDrawer;
