import React, { Component, ReactNode } from "react"; interface FilterProps { data: any; currFilters: any; } interface SearchProps { data: any; } interface SortProps { data: any; } interface PaginationProps { data: any; } interface DataProviderProps { data: any[]; children: ReactNode; } interface DataProviderState { data: any[]; } interface DataContextValue { data: any[]; getData: (filterProps?: FilterProps, searchProps?: SearchProps, sortProps?: SortProps, paginationProps?: PaginationProps) => any[]; } declare class DataProvider extends Component { constructor(props: DataProviderProps); getData: (filterProps?: FilterProps, searchProps?: SearchProps, sortProps?: SortProps, paginationProps?: PaginationProps) => any; render(): React.JSX.Element; } declare const _default: () => { Provider: typeof DataProvider; Consumer: React.Consumer; }; export default _default;