import React from 'react';
export default class TableEditTest extends React.Component<any, any> {
    state: {
        tableData: {
            id: number;
            name: string;
            price: number;
            stock: number;
            status: number;
            editable: boolean;
        }[];
    };
    fields: ({
        name: string;
        label: string;
        width: number;
        editable?: undefined;
        twview?: undefined;
        input?: undefined;
        options?: undefined;
        optionstype?: undefined;
        columnSearch?: undefined;
    } | {
        name: string;
        label: string;
        width: number;
        editable: boolean;
        twview: string;
        input?: undefined;
        options?: undefined;
        optionstype?: undefined;
        columnSearch?: undefined;
    } | {
        name: string;
        label: string;
        width: number;
        editable: boolean;
        twview: string;
        input: {
            type: string;
        };
        options?: undefined;
        optionstype?: undefined;
        columnSearch?: undefined;
    } | {
        name: string;
        label: string;
        width: number;
        editable: boolean;
        twview: string;
        options: {
            label: string;
            value: number;
        }[];
        optionstype: string;
        input?: undefined;
        columnSearch?: undefined;
    } | {
        name: string;
        label: string;
        width: number;
        columnSearch: null;
        editable?: undefined;
        twview?: undefined;
        input?: undefined;
        options?: undefined;
        optionstype?: undefined;
    })[];
    handleEditor: (value: any, name: string, row: any, field: any) => void;
    handleAddRow: () => void;
    handleDeleteRow: (id: number) => void;
    handleSaveAll: () => void;
    getOperation: () => {
        label: string;
        twview: string;
        color: string;
        click: (row: any) => void;
    }[];
    render(): React.JSX.Element;
}
