import type { AutocompleteApi, AutocompleteState, BaseItem } from '@algolia/autocomplete-core'; import React from 'react'; import type { DocSearchProps } from './DocSearch'; import type { StoredDocSearchHit } from './types'; interface ResultsProps extends AutocompleteApi { title: string; collection: AutocompleteState['collections'][0]; renderIcon: (props: { item: TItem; index: number; }) => React.ReactNode; renderAction: (props: { item: TItem; runDeleteTransition: (cb: () => void) => void; runFavoriteTransition: (cb: () => void) => void; }) => React.ReactNode; onItemClick: (item: TItem, event: KeyboardEvent | MouseEvent) => void; hitComponent: DocSearchProps['hitComponent']; } export declare function Results(props: ResultsProps): JSX.Element | null; export {};