-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenv.d.ts
More file actions
22 lines (22 loc) · 837 Bytes
/
Copy pathenv.d.ts
File metadata and controls
22 lines (22 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* eslint-disable */
// Generated by Wrangler by running `wrangler types env.d.ts --include-runtime false` (hash: 529ab6027aa1b81a107b648e3d1a0131)
declare namespace Cloudflare {
interface GlobalProps {
mainModule: typeof import("./src/server");
durableNamespaces: "ChatAgent";
}
interface Env {
BROWSER: Fetcher;
AI: Ai;
CLOUDFLARE_ACCOUNT_ID: string;
BROWSER_RENDERING_API_TOKEN: string;
ChatAgent: DurableObjectNamespace<import("./src/server").ChatAgent>;
}
}
interface Env extends Cloudflare.Env {}
type StringifyValues<EnvType extends Record<string, unknown>> = {
[Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string;
};
declare namespace NodeJS {
interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "CLOUDFLARE_ACCOUNT_ID" | "BROWSER_RENDERING_API_TOKEN">> {}
}