import React from 'react'; import type { HitsProps as HitsUiComponentProps } from 'instantsearch-ui-components'; import type { Hit, BaseHit } from 'instantsearch.js'; import type { SendEventForHits } from 'instantsearch.js/es/lib/utils'; import type { UseHitsProps } from 'react-instantsearch-core'; type UiProps = Pick>, 'hits' | 'sendEvent' | 'itemComponent' | 'emptyComponent' | 'banner' | 'bannerComponent'>; export type HitsProps = Omit>, keyof UiProps> & { hitComponent?: React.JSXElementConstructor<{ hit: Hit; sendEvent: SendEventForHits; }>; } & { bannerComponent?: React.JSXElementConstructor<{ banner: Required>>['banner']; className: string; }> | false; } & UseHitsProps; export declare function Hits({ escapeHTML, transformItems, hitComponent: HitComponent, bannerComponent: BannerComponent, ...props }: HitsProps): JSX.Element; export {};