import React from 'react';
export default class TableSortPageTest extends React.Component<any, any> {
    state: {
        tableData: never[];
        sortColumn: string;
        sortType: string;
        currentPage: number;
        pageSize: number;
        total: number;
    };
    allData: {
        id: number;
        name: string;
        category: string;
        price: number;
        stock: number;
    }[];
    fields: ({
        name: string;
        label: string;
        width: number;
        sortable: boolean;
    } | {
        name: string;
        label: string;
        width: number;
        sortable?: undefined;
    })[];
    componentDidMount(): void;
    loadData: () => void;
    handleSortColumn: (sortColumn: string, sortType: string, callback?: any) => void;
    handlePageChange: (page: number) => void;
    handlePageSizeChange: (pageSize: number) => void;
    render(): React.JSX.Element;
}
