import React from 'react';
import { TwForm } from 'src/install';
export default class TableComplexTest extends React.Component<any, any> {
    state: {
        tableData: never[];
        searchForm: {
            name: string;
            category: string;
            status: string;
        };
        selectedRows: never[];
        dialogVisible: boolean;
        expandedRows: never[];
        loading: boolean;
    };
    searchFields: ({
        name: string;
        label: string;
        twview: string;
        placeholder: string;
        options?: undefined;
        optionstype?: undefined;
    } | {
        name: string;
        label: string;
        twview: string;
        options: {
            label: string;
            value: string;
        }[];
        optionstype: string;
        placeholder?: undefined;
    })[];
    searchFormRef: React.RefObject<TwForm>;
    tableFields: ({
        name: string;
        label: string;
        width: number;
        columnSearch: null;
        treeCol?: undefined;
        twview?: undefined;
        options?: undefined;
        optionstype?: undefined;
        sortable?: undefined;
        formatter?: undefined;
    } | {
        name: string;
        label: string;
        width: number;
        treeCol: boolean;
        columnSearch?: undefined;
        twview?: undefined;
        options?: undefined;
        optionstype?: undefined;
        sortable?: undefined;
        formatter?: undefined;
    } | {
        name: string;
        label: string;
        width: number;
        twview: string;
        options: {
            label: string;
            value: string;
        }[];
        optionstype: string;
        columnSearch?: undefined;
        treeCol?: undefined;
        sortable?: undefined;
        formatter?: undefined;
    } | {
        name: string;
        label: string;
        width: number;
        sortable: boolean;
        formatter: (value: any) => string;
        columnSearch?: undefined;
        treeCol?: undefined;
        twview?: undefined;
        options?: undefined;
        optionstype?: undefined;
    } | {
        name: string;
        label: string;
        width: number;
        sortable: boolean;
        formatter: (value: any) => React.JSX.Element;
        columnSearch?: undefined;
        treeCol?: undefined;
        twview?: undefined;
        options?: undefined;
        optionstype?: undefined;
    } | {
        name: string;
        label: string;
        width: number;
        twview: string;
        options: {
            label: string;
            value: number;
        }[];
        optionstype: string;
        formatter: (value: any) => React.JSX.Element;
        columnSearch?: undefined;
        treeCol?: undefined;
        sortable?: undefined;
    } | {
        name: string;
        label: string;
        width: number;
        sortable: boolean;
        columnSearch?: undefined;
        treeCol?: undefined;
        twview?: undefined;
        options?: undefined;
        optionstype?: undefined;
        formatter?: undefined;
    })[];
    mockData: ({
        id: number;
        name: string;
        category: string;
        price: number;
        stock: number;
        status: number;
        sales: number;
        parentId: null;
    } | {
        id: number;
        name: string;
        category: string;
        price: number;
        stock: number;
        status: number;
        sales: number;
        parentId: number;
    })[];
    componentDidMount(): void;
    loadData: () => void;
    handleSearch: () => void;
    handleReset: () => void;
    handleRefresh: () => void;
    handleSelectChange: (selectedRows: any[]) => void;
    handleBatchOperation: (type: string) => void;
    handleExpandChange: (expanded: boolean, rowData: any) => void;
    handleEdit: (row: any) => void;
    handleDelete: (row: any) => void;
    handleToggleStatus: (row: any) => void;
    getOperation: () => ({
        label: string;
        click: (row: any) => void;
        color?: undefined;
        twview?: undefined;
    } | {
        label: string;
        color: string;
        twview: string;
        click: (row: any) => void;
    })[];
    render(): React.JSX.Element;
}
