import { SearchIndex } from 'algoliasearch/lite'; import { ReactNode } from 'react'; import { SearchOptions } from '@algolia/client-search'; import { SharedProps, TagItem } from './search.js'; import 'fumadocs-core/server'; interface AlgoliaSearchDialogProps extends SharedProps { index: SearchIndex; searchOptions?: SearchOptions; footer?: ReactNode; defaultTag?: string; tags?: TagItem[]; /** * Add the "Powered by Algolia" label, this is useful for free tier users * * @defaultValue false */ showAlgolia?: boolean; /** * Allow to clear tag filters * * @defaultValue false */ allowClear?: boolean; } declare function AlgoliaSearchDialog({ index, searchOptions, tags, defaultTag, showAlgolia, allowClear, ...props }: AlgoliaSearchDialogProps): React.ReactElement; export { type AlgoliaSearchDialogProps, AlgoliaSearchDialog as default };