import { NativeEventSubscription } from 'react-native' type SpotlightItem = { title: string contentDescription?: string uniqueIdentifier: string domain: string thumbnailName?: string thumbnailData?: string keywords?: string[] } export function indexItems(items: SpotlightItem[]): Promise export function indexItem(item: SpotlightItem): Promise export function deleteItemsWithIdentifiers(itemIdentifiers: string[]): Promise; export function deleteItemsInDomains(itemDomains: string[]): Promise; export function deleteAllItems(): Promise export function searchItemTapped(callback: (uniqueIdentifier: string) => void): NativeEventSubscription; export function getInitialSearchItem(): Promise