Leader key in ZMK

hi,

I am trying to find if the leader function of QMK exists on zmk (or something similar)

my usecase is pretty simple, on qmk i have:

leader + e = é

leader + e + e = è //double tap on the e

and more accents ...

doing the same on a macro would be easy for the simple tap with leader replaced by a designated layer. but the double tap is more tricky to mimick. I am trying to get my qmk and zmk setup as similar as possible for muscle memory.

Many thanks for you help!