import TextStreamAccumulator from "text-stream-accumulator";
import { RejectFunction } from "../types/reject-function.js";
import { ResolveFunction } from "../types/resolve-function.js";
import Search from "../types/search.js";
import BaseSearch from "./base-search";
export default class RegexSearch extends BaseSearch implements Search {
    searchRegexp: RegExp;
    constructor(regex: RegExp, accumulator: TextStreamAccumulator, resolve: ResolveFunction, reject: RejectFunction, timeout?: number);
    check(text: string): Promise<void>;
    getDisplayName(): string;
    matches(text: string): boolean;
}
