/** * Returns the given string after cleaning it. The goal of the clean is to give * more convenient results when comparing it to potential search results, on * which the clean should also be called before comparing them. * * @param {string} searchTerm * @returns {string} */ export function cleanSearchTerm(searchTerm: string): string; /** * Returns whether the given event has been handled with the given markName. * * @param {Event} ev * @param {string} markName * @returns {boolean} */ export function isEventHandled(ev: Event, markName: string): boolean; /** * Marks the given event as handled by the given markName. Useful to allow * handlers in the propagation chain to make a decision based on what has * already been done. * * @param {Event} ev * @param {string} markName */ export function markEventHandled(ev: Event, markName: string): void; /** * Wait a task tick, so that anything in micro-task queue that can be processed * is processed. */ export function nextTick(): Promise;