Got rejected by my bestie💔

Hey guys, I really need help!! So I’m in love with my bestfriend and I told them that but they didnt feel the same. We had a great talk and i took the reject well but now it has sunk in and I’m so heartbroken. I need advice on how to get over them. I dont want to feel this bad and jealous. This is the best person i have ever met and I want them in my life but im just so hurt and afraid I might not be able to get over them😭💔