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