Alterantive for distinct in queryable encryption

when using queryable encrypted collections, how can we perform .distinct() operation . How can we do grouping in aggregation in the encrypted fields ( _id : ‘$encryptedField’)