1 | import React from 'react';
|
2 | import type { SearchBoxProps as SearchBoxUiComponentProps } from '../ui/SearchBox';
|
3 | import type { UseSearchBoxProps } from 'react-instantsearch-core';
|
4 | type UiProps = Pick<SearchBoxUiComponentProps, 'inputRef' | 'isSearchStalled' | 'onChange' | 'onReset' | 'onSubmit' | 'value' | 'autoFocus' | 'translations'>;
|
5 | export type SearchBoxProps = Omit<SearchBoxUiComponentProps, Exclude<keyof UiProps, 'onSubmit' | 'autoFocus'>> & UseSearchBoxProps & {
|
6 | |
7 |
|
8 |
|
9 |
|
10 | searchAsYouType?: boolean;
|
11 | |
12 |
|
13 |
|
14 |
|
15 |
|
16 | ignoreCompositionEvents?: boolean;
|
17 | translations?: Partial<UiProps['translations']>;
|
18 | };
|
19 | export declare function SearchBox({ queryHook, searchAsYouType, ignoreCompositionEvents, translations, ...props }: SearchBoxProps): React.JSX.Element;
|
20 | export {};
|