import { ReactNode } from 'react'; import { SharedProps, TagItem } from './search.js'; import 'fumadocs-core/server'; interface DefaultSearchDialogProps extends SharedProps { /** * @defaultValue 'fetch' */ type?: 'fetch' | 'static'; defaultTag?: string; tags?: TagItem[]; /** * Search API URL */ api?: string; /** * The debounced delay for performing a search. */ delayMs?: number; footer?: ReactNode; /** * Allow to clear tag filters * * @defaultValue false */ allowClear?: boolean; } declare function DefaultSearchDialog({ defaultTag, tags, api, delayMs, type, allowClear, ...props }: DefaultSearchDialogProps): React.ReactElement; export { type DefaultSearchDialogProps, DefaultSearchDialog as default };