// This file infers types for the cloudflare:workers environment from your Alchemy Worker. // @see https://alchemy.run/concepts/bindings/#type-safe-bindings {{#if (eq webDeploy "alchemy")}} import type { server } from "../../alchemy.run"; {{else}} import type { server } from "./alchemy.run"; {{/if}} export type CloudflareEnv = typeof server.Env; declare global { type Env = CloudflareEnv; } declare module "cloudflare:workers" { namespace Cloudflare { export interface Env extends CloudflareEnv {} } }