import Muya from '../index'; import { IMatch } from './types'; declare class Search { muya: Muya; value: string; matches: IMatch[]; index: number; get scrollPage(): import("../types").Nullable; constructor(muya: Muya); private updateMatches; private innerReplace; replace(replaceValue: string, opt?: { isSingle: boolean; isRegexp: boolean; }): this; /** * Find preview or next value, and highlight it. * @param {string} action : previous or next. */ find(action: 'previous' | 'next'): this; /** * Search value in current document. * @param {string} value * @param {object} opts */ search(value: string, opts?: {}): this; } export default Search;