import { SearchOptions } from "./utils"; /** * This is a simple `array.find` implementation that will work for any * searchable item type and return the first item that starts with the current * query string ignoring case. * * @param query The current query string to use to match with * @param searchable The list of searchable items * @param options The additional search options available. * @return the found item in the searchable list or null */ export default function findIgnoreCase(query: string, searchable: readonly T[], options?: SearchOptions): T | null;