| 1 | // Augments OpenNext's `CloudflareEnv` with the bindings the tests wire in |
| 2 | // (structural types — no dependency on @cloudflare/workers-types). |
| 3 | declare global { |
| 4 | interface CloudflareEnv { |
| 5 | TEST_TEXT?: string; |
| 6 | FIXTURE_KV: { |
| 7 | get(key: string): Promise<string | null>; |
| 8 | put(key: string, value: string): Promise<void>; |
| 9 | }; |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | export {}; |