///
import { Component, HTMLProps } from 'react';
import { ColumnHeaderProperty, Query, SelectOption, ViewMode } from './models';
export interface DatagridProps {
filtersActive?: boolean;
loading?: boolean;
limitOptions?: number[];
mainButton?: HTMLProps;
noDefaultFilter?: boolean;
noFilters?: boolean;
noFiltersHeader?: boolean;
noHeader?: boolean;
noPagination?: boolean;
noSearchBarCollapse?: boolean;
noSearchBy?: boolean;
noTotalInHeader?: boolean;
noViewModeButton?: boolean;
properties?: ColumnHeaderProperty[];
query?: Query;
searchInputPlaceholder?: string;
searchPropertyOptions?: SelectOption[];
searchTerm?: string;
total?: number;
tableMinWidth?: number;
viewMode?: ViewMode;
onChangeQuery?: (updatedQuery: Query) => void;
onChangeSearchProperty?: (searchProperty: string) => void;
onChangeViewMode?: (viewMode: ViewMode) => void;
onResetAllFilters?: () => void;
onSearchTerm?: (term: string) => void;
}
export interface DatagridState {
filtersActive: boolean;
viewMode: ViewMode;
}
export declare class Datagrid extends Component {
static propTypes: any;
static defaultProps: Partial;
constructor(props: DatagridProps);
render(): JSX.Element;
renderMapView(mapView: any): any;
handleToggleFilters: () => void;
handleChangeViewMode: (viewMode: "table" | "cards" | "map") => void;
handleQueryChange: (queryProp: string) => (value: any) => void;
getChildrenAsArray(): JSX.Element[];
}