import React from 'react'; import type { RelatedProductsProps as RelatedProductsUiComponentProps } from 'instantsearch-ui-components'; import type { BaseHit } from 'instantsearch.js'; import type { UseRelatedProductsProps } from 'react-instantsearch-core'; type UiProps = Pick, 'items' | 'itemComponent' | 'headerComponent' | 'emptyComponent' | 'layout' | 'status' | 'sendEvent'>; export type RelatedProductsProps = Omit, keyof UiProps> & UseRelatedProductsProps & { itemComponent?: RelatedProductsUiComponentProps['itemComponent']; headerComponent?: RelatedProductsUiComponentProps['headerComponent']; emptyComponent?: RelatedProductsUiComponentProps['emptyComponent']; layoutComponent?: RelatedProductsUiComponentProps['layout']; }; export declare function RelatedProducts({ objectIDs, limit, threshold, fallbackParameters, queryParameters, escapeHTML, transformItems, itemComponent, headerComponent, emptyComponent, layoutComponent, ...props }: RelatedProductsProps): React.JSX.Element; export {};