export type TGetText = (value: T) => string; export declare const escapeRegExp: (text: string) => string; export declare const markSearch: (value: string, search: string | undefined) => string; export declare const filterSearchItems: (arr: T[], s: string, getText: TGetText) => T[]; export type TListMove = "first" | "last" | "prev" | "next" | "pgup" | "pgdn" | "select"; export type TListMoveFunc = (direction: TListMove) => void;