import React from 'react';
import './index.less';
import { BaseListOld } from '@lm_fe/components_m';
export default class Roles extends BaseListOld {
    static defaultProps: {
        baseUrl: string;
        baseTitle: string;
        needPagination: boolean;
        showQuery: boolean;
        tableColumns: ({
            title: string;
            dataIndex: string;
            ellipsis: boolean;
            width: number;
            render?: undefined;
        } | {
            title: string;
            dataIndex: string;
            ellipsis: boolean;
            width: number;
            render: (text: string, record: any) => React.JSX.Element;
        })[];
        rowKey: string;
        showAdd: boolean;
    };
    state: {
        dataSource: never[];
        menuDataSource: never[];
        visible: boolean;
        editable: boolean;
        id: undefined;
        defaultCheckedMenu: never[];
        activeRole: {};
    };
    roleColumns: any[];
    handleSearch: () => Promise<void>;
    handleRowClick: (rowData: any) => (e: any) => void;
    setRowClassName: (rowData: any) => "" | "table-row-active";
    handleSaveApiPermission: (checkedData: any[]) => Promise<void>;
    handleSaveMenuPermission: (checkedData: any[]) => Promise<void>;
    render(): React.JSX.Element;
}
