import type { SearchOptions } from "./utils"; export interface CaseInsensitiveOptions extends SearchOptions { /** * Boolean if the filter should also exclude all items that do not start with * the query string. The default behavior is to return all matches that * contain the query string anywhere. */ startsWith?: boolean; } /** * Filters a list by ensuring that all items contain the query string in order * anywhere in it's own value. * * @param query - The current query string * @param searchable - The list of searchable items that should be filtered * @param options - All the search options to use * @returns A filtered list of all the searchable items based on the query * string. */ export declare function caseInsensitiveFilter(query: string, searchable: readonly T[], options?: CaseInsensitiveOptions): readonly T[];