As far as I understand the real implementation in javascript is injected by the extension, am I wrong? But they cannot provide the typescript interface