import { default as React } from 'react'; import { TableState, DataTableProps } from '../../components/data-tables'; import { UseTableSelectionReturn } from '../../hooks'; export type GetRowKey = (row: T) => string | number; export interface ResourceListViewProps { title: string; data: T[]; columns: DataTableProps['columns']; isLoading?: boolean; isError?: boolean; errorTitle?: string; errorMessage?: string; tableState: TableState; onTableStateChange: (state: TableState) => void; pagination?: DataTableProps['pagination']; totalCount?: number; pageSizeOptions?: number[]; getRowKey: GetRowKey; selection?: UseTableSelectionReturn; toolbarActions?: React.ReactNode; selectionActions?: React.ReactNode; searchValue?: string; onSearchChange?: (value: string) => void; searchPlaceholder?: string; className?: string; } export declare function ResourceListView({ title, data, columns, isLoading, isError, errorTitle, errorMessage, tableState, onTableStateChange, pagination, getRowKey, selection, totalCount, pageSizeOptions, toolbarActions, selectionActions, searchValue, onSearchChange, searchPlaceholder, className, }: ResourceListViewProps): React.JSX.Element;