1 | import React from 'react';
|
2 | import type { StatsProps as StatsUiComponentProps } from '../ui/Stats';
|
3 | import type { UseStatsProps } from 'react-instantsearch-core';
|
4 | type UiProps = Pick<StatsUiComponentProps, 'nbHits' | 'nbSortedHits' | 'processingTimeMS' | 'areHitsSorted' | 'translations'>;
|
5 | export type StatsProps = Omit<StatsUiComponentProps, keyof UiProps> & UseStatsProps & {
|
6 | translations?: Partial<UiProps['translations']>;
|
7 | };
|
8 | export declare function Stats({ translations, ...props }: StatsProps): React.JSX.Element;
|
9 | export {};
|