import type { InfiniteHitsProps as InfiniteHitsUiComponentProps } from '../ui/InfiniteHits'; import type { BaseHit, Hit } from 'instantsearch.js'; import type { UseInfiniteHitsProps } from 'react-instantsearch-hooks'; type UiProps = Pick>, 'hits' | 'sendEvent' | 'onShowPrevious' | 'onShowMore' | 'isFirstPage' | 'isLastPage' | 'translations'>; export type InfiniteHitsProps = Omit>, keyof UiProps> & UseInfiniteHitsProps & { /** * Displays the "Show Previous" button when the UI is loaded from a page * beyond the first one. * @default true */ showPrevious?: boolean; translations?: Partial['translations']>; }; export declare function InfiniteHits({ showPrevious: shouldShowPrevious, cache, escapeHTML, showPrevious: userShowPrevious, transformItems, translations, ...props }: InfiniteHitsProps): JSX.Element; export {};