Preheat the oven to 350°F.
Grease two 9-inch round cake pans and line the bottom with parchment paper.
Make the cake batter by grinding coconut and pecans, then sift together with flour, baking powder, and salt.
Beat butter, cream of coconut, and sugar until fluffy. Beat in eggs and coconut extract. Add flour mixture and coconut milk.
Divide batter into pans and bake for 30-35 minutes.
Prepare the filling by cooking ingredients in a saucepan, whisking in egg yolks, and stirring until pudding consistency. Stir in shredded coconut.
Make simple syrup by heating sugar and water until dissolved.
Cut cakes horizontally, moisten with simple syrup, layer with coconut filling, and repeat. Refrigerate for 1 hour.
Make icing by whipping cream, sugar, and coconut extract until stiff peaks form. Spread on cake and sprinkle with toasted coconut. Refrigerate until ready to serve.
