import React from 'react'; import { type UseReferenceManyFieldControllerParams } from "./useReferenceManyFieldController.cjs"; /** * Fetch and render the number of records related to the current one * * Relies on dataProvider.getManyReference() returning a total property * * @example // Display the number of comments for the current post * * * @example // Display the number of published comments for the current post * */ export declare const ReferenceManyCountBase: (props: ReferenceManyCountBaseProps) => React.JSX.Element; export interface ReferenceManyCountRecord { total: number | undefined; } export interface ReferenceManyCountBaseProps extends UseReferenceManyFieldControllerParams { render?: (record: ReferenceManyCountRecord) => React.ReactNode; timeout?: number; loading?: React.ReactNode; error?: React.ReactNode; offline?: React.ReactNode; } //# sourceMappingURL=ReferenceManyCountBase.d.ts.map