import React from 'react'; import type { SearchBoxProps as SearchBoxUiComponentProps } from '../ui/SearchBox'; import type { UseSearchBoxProps } from 'react-instantsearch-core'; type UiProps = Pick; export type SearchBoxProps = Omit> & UseSearchBoxProps & { /** * Whether to trigger the search only on submit. * @default true */ searchAsYouType?: boolean; /** * Whether to update the search state in the middle of a * composition session. * @default false */ ignoreCompositionEvents?: boolean; translations?: Partial; }; export declare function SearchBox({ queryHook, searchAsYouType, ignoreCompositionEvents, translations, ...props }: SearchBoxProps): React.JSX.Element; export {};