import { MenuGroupType, MenuItemType, MenuSearchSortFn } from './types'; export declare enum MenuMatchRank { EXACT = 0, PREFIX = 1, SUBSTRING = 2, NONE = 3 } export declare const getItemMatchRank: (item: MenuItemType, lower: string) => MenuMatchRank; export declare const defaultSearchSortFn: MenuSearchSortFn; export declare const filterMenuGroups: (groups: MenuGroupType[], searchText: string, searchSortFn?: MenuSearchSortFn) => MenuGroupType[]; export declare const filterMenuItem: (item: MenuItemType, lower: string) => MenuItemType | null;