UNPKG

592 BTypeScriptView Raw
1import React from 'react';
2import type { CurrentRefinementsProps as CurrentRefinementsUiComponentProps } from '../ui/CurrentRefinements';
3import type { UseCurrentRefinementsProps } from 'react-instantsearch-core';
4type UiProps = Pick<CurrentRefinementsUiComponentProps, 'items' | 'hasRefinements'>;
5export type CurrentRefinementsProps = Omit<CurrentRefinementsUiComponentProps, keyof UiProps> & UseCurrentRefinementsProps;
6export declare function CurrentRefinements({ includedAttributes, excludedAttributes, transformItems, ...props }: CurrentRefinementsProps): React.JSX.Element;
7export {};