@twip/web
    Preparing search index...

    Interface Find

    Find and replace, over the text of the current markup view.

    interface Find {
        all(query: FindQuery): Promise<FindMatch[]>;
        next(query: FindQuery): Promise<FindResult>;
        previous(query: FindQuery): Promise<FindResult>;
        replace(query: FindQuery, replacement: string): Promise<FindResult>;
        replaceAll(
            query: FindQuery,
            replacement: string,
        ): Promise<{ count: number }>;
        select(match: MatchId): Promise<void>;
    }
    Index