/** @packageDocumentation
 *  @module Tools
 */
import type { ToolList } from "@itwin/core-frontend";
import type { IMatch } from "../utils/matchesWords";
/**
 * Defines a keyin entry to show/filter in UI
 * @public
 */
export interface KeyinEntry {
    /** string that matched a filter string */
    value: string;
    /** define array of start and end positions of filter matches. */
    matches?: IMatch[];
    /** true if entry was loaded from key-in history */
    isHistory?: boolean;
}
/**
 * Controls whether localized and/or non-localized key-in strings appear in a KeyinField's auto-completion list.
 * @public
 */
export declare enum KeyinFieldLocalization {
    /** Include only non-localized key-in strings. */
    NonLocalized = 0,
    /** Include only localized key-in strings. */
    Localized = 1,
    /** Include localized and non-localized strings for each key-in. */
    Both = 2
}
/**
 * Parses a given ToolList for its tools keyins, filtering based on a KeyinFieldLocalization value.
 * @internal
 */
export declare function getKeyinsFromToolList(toolList: ToolList, localizedKeyinPreference?: KeyinFieldLocalization): KeyinEntry[];
//# sourceMappingURL=Keyins.d.ts.map