/** * @description replace `highlight` -> `highlight` with with vanilla js. * @see: {@link https://www.eriwen.com/javascript/highlight-search-results-with-js/} * @category string * @example doHighlight('hello world', 'world') */ export declare const doHighlight: (original: string, highlight: string, callback?: ((substring: string, ...args: any[]) => string) | undefined) => string;