Traqula
    Preparing search index...
    filterReplace: AstIndir<
        "filterReplace",
        PatternGroup
        | Pattern,
        [PatternGroup | Pattern, Record<string, Expression>, Expression[]],
    > = ...

    If second arg is a Group, we will return a group.