Traqula
    Preparing search index...
    replaceAlgAggregatorVariables: AstIndir<
        "replaceAggregatorVariables",
        unknown,
        [unknown, Record<string, Expression>],
    > = ...

    Will mostly return the same type as what you give in second arg.