import { SortPayload } from 'ra-core';
/**
* Fetch and render the number of records of a given resource
*
* Relies on dataProvider.getList() returning a total property
*
* @example // Display the number of records in the current resource (based on ResourceContext)
*
*
* @example // Display the number of posts
*
*
* @example // Display the number of published posts
*
*
* @example // Display the number of posts, with a custom Typography variant
*
*
* @see ReferenceManyCount for a similar component which fetches the number of records related to the current one
*/
export declare const Count: (props: CountProps) => import("react/jsx-runtime").JSX.Element;
export interface CountProps {
filter?: any;
sort?: SortPayload;
link?: boolean;
resource?: string;
timeout?: number;
}