| 1 | declare module "cloudflare-internal:sockets" { |
| 2 | const sockets: { connect: typeof import("cloudflare:sockets").connect }; |
| 3 | export default sockets; |
| 4 | } |
| 5 | |
| 6 | declare module "workerd" { |
| 7 | const bin: |
| 8 | | string // it should be the binary path |
| 9 | | { |
| 10 | // but their exports are weird so sometimes it's this |
| 11 | default: string; |
| 12 | compatibilityDate: string; |
| 13 | version: string; |
| 14 | }; |
| 15 | export default bin; |
| 16 | export const compatibilityDate: string; |
| 17 | export const version: string; |
| 18 | } |