1 | import type { PartialKeys } from '../types';
|
2 | import type { ToggleRefinementProps as ToggleRefinementUiComponentProps } from '../ui/ToggleRefinement';
|
3 | import type { UseToggleRefinementProps } from 'react-instantsearch-core';
|
4 | type UiProps = Pick<ToggleRefinementUiComponentProps, 'onChange' | 'checked'>;
|
5 | export type ToggleRefinementProps = PartialKeys<Omit<ToggleRefinementUiComponentProps, keyof UiProps>, 'label'> & UseToggleRefinementProps;
|
6 | export declare function ToggleRefinement({ attribute, on, off, ...props }: ToggleRefinementProps): JSX.Element;
|
7 | export {};
|