/** * Copyright (c) Facebook, Inc. And its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import type { ThemeConfigAlgolia } from '@docsearch/docusaurus-adapter'; import type { DocSearchModalProps, DocSearchTranslations } from '@docsearch/react'; import { type ReactNode } from 'react'; type DocSearchProps = Omit & { contextualSearch?: string; externalUrlRegex?: string; searchPagePath: boolean | string; askAi?: Exclude<(DocSearchModalProps & { askAi: unknown; })['askAi'], string | undefined>; }; interface AlgoliaSearchBarProps extends Omit { indexName: string; askAi?: ThemeConfigAlgolia['askAi']; translations?: DocSearchTranslations; } export default function SearchBar(props: Partial): ReactNode; export {};