import { type CrudSort, type GetListResponse, type HttpError, type useTableProps } from '@refinedev/core';
import { type ReactNode } from 'react';
export declare const ResourceList: <T extends {
    id?: number | string;
}>({ resource, title, extraHeaders, filterProps, sorterProps, children, }: {
    resource: string;
    title?: string;
    extraHeaders?: ({ data, }: {
        data?: GetListResponse<T>;
    }) => ReactNode;
    filterProps?: useTableProps<T, HttpError, T>["filters"];
    sorterProps?: useTableProps<T, HttpError, T>["sorters"];
    children?: ({ isLoading, isSuccess, sorters, data, }: {
        isLoading?: boolean;
        isSuccess?: boolean;
        sorters: CrudSort[];
        data?: GetListResponse<T>;
    }) => ReactNode;
}) => import("react/jsx-runtime").JSX.Element;
