import React from 'react';
import Table from './components/Table';
import Query from './components/Query';
import { BaseListOld } from '@lm_fe/components_m';
export default class UserList extends BaseListOld {
    static defaultProps: {
        baseUrl: string;
        baseTitle: string;
        needPagination: boolean;
        processFromApi: (data: any) => any[];
        showAdd: boolean;
        showQuery: boolean;
        rowKey: string;
        tableColumns: ({
            title: string;
            dataIndex: string;
            width: number;
            align: string;
            render: (text: any, record: any, index: any) => any;
            ellipsis?: undefined;
        } | {
            title: string;
            dataIndex: string;
            ellipsis: boolean;
            width: number;
            align?: undefined;
            render?: undefined;
        } | {
            title: string;
            dataIndex: string;
            width: number;
            ellipsis: boolean;
            render: (value: string, rowData: any) => React.JSX.Element;
            align?: undefined;
        } | {
            title: string;
            dataIndex: string;
            ellipsis: boolean;
            width: number;
            render: (value: string) => string;
            align?: undefined;
        })[];
        Table: typeof Table;
        Query: typeof Query;
    };
    constructor(props: any);
    handleAdd: () => void;
    columns: any[];
    handleEdit: (record: any) => () => void;
    handleResetCancel: () => void;
    handleResetEdit: (record: any) => () => void;
    handleDisableUser: (record: any) => () => Promise<void>;
    renderOthersModal: () => React.JSX.Element;
    handleSubmit: (data: any) => Promise<void>;
    handleDelete: (record: any) => () => Promise<void>;
}
