import Query from './../components/query';
import Table from './../components/table';
import { BaseListOld } from '@lm_fe/components_m';
import './index.less';
import React from 'react';
export default class List extends BaseListOld {
    static defaultProps: {
        baseUrl: string;
        baseTitle: string;
        needPagination: boolean;
        showQuery: boolean;
        showAdd: boolean;
        addText: string;
        tableColumns: never[];
        rowKey: string;
        Table: typeof Table;
        Query: typeof Query;
        otherTableProps: {
            scroll: {
                x: number;
            };
        };
    };
    state: {
        total: number;
        defaultQuery: {
            page: number;
            size: number;
            sort: string;
        };
        dataSource: never[];
        selectedRowKeys: never[];
        selectedRows: never[];
        visible: boolean;
        editable: boolean;
        id: undefined;
        editKey: undefined;
        loading: boolean;
        isSearchColumnModal: boolean;
        selectArticle: null;
    };
    columns: ({
        title: string;
        dataIndex: string;
        ellipsis: boolean;
        width: number;
        align: string;
        render: (recordstate: any, rowData: any) => React.JSX.Element;
        fixed?: undefined;
    } | {
        title: string;
        dataIndex: string;
        ellipsis: boolean;
        width: number;
        align: string;
        render: (recordstate: any, rowData: any) => string;
        fixed?: undefined;
    } | {
        title: string;
        dataIndex: string;
        ellipsis: boolean;
        width: number;
        align: string;
        render?: undefined;
        fixed?: undefined;
    } | {
        title: string;
        dataIndex: string;
        width: number;
        ellipsis: boolean;
        align: string;
        fixed: string;
        render: (recordstate: any, rowData: any) => React.JSX.Element;
    })[];
    releaseChange(rowData: any, checked: boolean): Promise<void>;
    handleTitleClick(rowData: any): void;
    changeState(key: string, value: any): void;
    handleSureRead(data: any): Promise<void>;
    renderOthersModal: () => React.JSX.Element;
}
