import { Extension } from '@codemirror/state';
/**
 * Adds a view updates's listener that creates an state over the autocomplete
 * @returns An extension containing everything needed to listen the updates and create the autocomplete's state
 */
export declare function autocompleteStateWrapper(): Extension;
/**
 * Shows a state on a non-clickable autocomplete item's format with an HTMLElement inside
 * @param element The HTMLElement to show inside the state
 */
export declare function showAutocompleteStateWrapper(element: HTMLElement): void;
/**
 * Removes a possible showed autocomplete state
 */
export declare function hideAutocompleteStateWrapper(): void;
