UNPKG

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