///
import EventEmitter from "events";
import React from "react";
declare const withContext: (Base: any) => {
new (props: any): {
componentDidUpdate(nextProps: any): void;
renderBase(): (rootProps: {
getData: (filterProps: any, searchProps: any, sortProps: any, paginationProps: any) => any;
}, filterProps: any, searchProps: any, sortProps: any, paginationProps: any, columnToggleProps: any) => React.JSX.Element;
renderWithColumnContext(base: any, baseProps: any): (rootProps: any, filterProps: any, searchProps: any, sortProps: any, paginationProps: any) => React.JSX.Element;
renderWithSelectionContext(base: any, baseProps: any): (rootProps: {
getData: (filterProps: any, searchProps: any, sortProps: any, paginationProps: any) => any;
}, filterProps: any, searchProps: any, sortProps: any, paginationProps: any) => React.JSX.Element;
renderWithRowExpandContext(base: any, baseProps: any): (rootProps: {
getData: (filterProps: any, searchProps: any, sortProps: any, paginationProps: any) => any;
}, filterProps: any, searchProps: any, sortProps: any, paginationProps: any) => React.JSX.Element;
renderWithPaginationContext(base: any): (rootProps: {
getData: (filterProps: any, searchProps: any, sortProps: any, paginationProps?: any) => any;
}, filterProps: any, searchProps: any, sortProps: any) => React.JSX.Element;
renderWithSortContext(base: any, baseProps: any): (rootProps: {
getData: (filterProps: any, searchProps: any, sortProps?: any, paginationProps?: any) => any;
}, filterProps: any, searchProps: any) => React.JSX.Element;
renderWithSearchContext(base: any, baseProps: any): (rootProps: {
getData: (filterProps: any, searchProps?: any, sortProps?: any, paginationProps?: any) => any;
}, filterProps: any) => React.JSX.Element;
renderWithFilterContext(base: any, baseProps: any): (rootProps: any) => React.JSX.Element;
renderWithCellEditContext(base: any, baseProps: any): (rootProps: {
getData: (filterProps?: any, searchProps?: any, sortProps?: any, paginationProps?: any) => any;
}) => React.JSX.Element;
render(): React.JSX.Element;
remoteEmitter: EventEmitter;
DataContext: any;
ColumnContext: any;
SelectionContext: any;
SearchContext: any;
FilterContext: any;
RowExpandContext: any;
CellEditContext: any;
PaginationContext: any;
SortContext: any;
Table: any;
dataContext: any;
columnContext: any;
selectionContext: any;
searchContext: any;
filterContext: any;
rowExpandContext: any;
cellEditContext: any;
paginationContext: any;
sortContext: any;
table: any;
getNewestState: (state?: any) => any;
isRemoteSearch: () => any;
isRemotePagination: (e?: any) => any;
isRemoteFiltering: () => any;
isRemoteSort: () => any;
isRemoteCellEdit: () => any;
handleRemotePageChange: (page: number, sizePerPage: number) => void;
handleRemoteFilterChange: (filters: any) => void;
handleRemoteSortChange: (sortField: string, sortOrder: string | undefined) => void;
handleRemoteCellChange: (rowId: any, dataField: string, newValue: any) => void;
handleRemoteSearchChange: (searchText: string) => void;
context: unknown;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{}>): any;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void;
};
contextType?: React.Context | undefined;
};
export default withContext;