import type { Color } from '../../types/text'; export declare type Item = { index?: number; label?: string; value?: any; group?: string; type?: Color | string; style?: string; }; declare function calcSuggestion(predefined: Item[], selected: Item[], value: string): Item[]; declare function calcPrompt(suggested: Item[], value: string, active: number): string; declare function stringIndex(item: string, value: string): number; declare function stringMatch(item: string, value: string): string; declare function markSuggestion(item: string, value: string): string; declare function createObject(item: string, items: string[] | Item[], index?: number): Item; declare function createIndexes(items: Item[]): Item[]; declare function makeGroups(items: Item[]): any[] | Item; export { calcSuggestion, calcPrompt, createObject, createIndexes, markSuggestion, makeGroups, stringIndex, stringMatch, };