how to define the existance of secrets in wrangler.jsonc?

i have been wondering how to use worker secrets for over a week now and i thougt i made it work but turns out it was just a fluke
can someone please tell me how can i define worker secrets in wrangler.jsonc so that typescript doesn't scream at me and also they actually work?
Was this page helpful?