1 | import React from 'react';
|
2 | import type { FrequentlyBoughtTogetherProps as FrequentlyBoughtTogetherPropsUiComponentProps } from 'instantsearch-ui-components';
|
3 | import type { AlgoliaHit, BaseHit } from 'instantsearch.js';
|
4 | import type { UseFrequentlyBoughtTogetherProps } from 'react-instantsearch-core';
|
5 | type UiProps<THit extends BaseHit> = Pick<FrequentlyBoughtTogetherPropsUiComponentProps<AlgoliaHit<THit>>, 'items' | 'itemComponent' | 'headerComponent' | 'emptyComponent' | 'layout' | 'status' | 'sendEvent'>;
|
6 | export type FrequentlyBoughtTogetherProps<THit extends BaseHit> = Omit<FrequentlyBoughtTogetherPropsUiComponentProps<AlgoliaHit<THit>>, keyof UiProps<THit>> & UseFrequentlyBoughtTogetherProps<THit> & {
|
7 | itemComponent?: FrequentlyBoughtTogetherPropsUiComponentProps<THit>['itemComponent'];
|
8 | headerComponent?: FrequentlyBoughtTogetherPropsUiComponentProps<THit>['headerComponent'];
|
9 | emptyComponent?: FrequentlyBoughtTogetherPropsUiComponentProps<THit>['emptyComponent'];
|
10 | layoutComponent?: FrequentlyBoughtTogetherPropsUiComponentProps<THit>['layout'];
|
11 | };
|
12 | export declare function FrequentlyBoughtTogether<THit extends BaseHit = BaseHit>({ objectIDs, limit, threshold, queryParameters, escapeHTML, transformItems, itemComponent, headerComponent, emptyComponent, layoutComponent, ...props }: FrequentlyBoughtTogetherProps<THit>): React.JSX.Element;
|
13 | export {};
|