import * as React from 'react';
import { SortPayload } from 'ra-core';
import { TypographyProps } from '@mui/material';
/**
* 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) => React.JSX.Element;
export interface CountProps extends TypographyProps {
filter?: any;
sort?: SortPayload;
link?: Boolean;
resource?: string;
timeout?: number;
}
//# sourceMappingURL=Count.d.ts.map