import { InputSearchWebElementBase } from './InputSearchWebElementBase';
type Key = string | number;
/**
* The component WebElement for [oj-c-input-search](../../jsdocs/oj-c.InputSearch.html).
* Do not instantiate this class directly, instead, use
* [findInputSearch](../functions/findInputSearch.html).
*/
export declare class InputSearchWebElement extends InputSearchWebElementBase {
/**
* Types a value into the field and commits it with Enter.
* @param value The value to commit for value
* @override
*/
changeValue(value: string | null): Promise;
/**
* Clears the field and commits the empty value.
*/
clear(): Promise;
/**
* Filters the suggestions list and commits the matching suggestion at the requested index.
* @param searchText The text used to filter suggestions
* @param index The zero-based suggestion index to commit after filtering
*/
selectSuggestion(searchText: string, index?: number): Promise;
/**
* Sets the value based on the DataProvider item for the given key.
* @param key The DataProvider key for the suggestion to commit
*/
changeValueByKey(key: Key): Promise;
private getInput;
private getSuggestionTextByKey;
/**
* InputSearch updates suggestions as the value changes, so set the native value and dispatch
* an input event instead of sending a long key sequence that can race controlled rerenders.
*/
private setInputValue;
private waitForInputSearchRender;
}
export {};