-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Expand file tree
/
Copy pathvirtual.d.ts
More file actions
23 lines (19 loc) · 726 Bytes
/
virtual.d.ts
File metadata and controls
23 lines (19 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/// <reference types="astro/client" />
/// <reference types="@cloudflare/workers-types" />
declare module 'virtual:astro-cloudflare:config' {
export const sessionKVBindingName: string;
export const compileImageConfig: import('./src/vite-plugin-config.js').CompileImageConfig | null;
export const isPrerender: boolean;
}
declare namespace Cloudflare {
interface Env {
[key: string]: unknown;
IMAGES: ImagesBinding;
ASSETS: Fetcher;
}
}
// These are globals
interface Env extends Cloudflare.Env {}
type ImagesBinding = import('@cloudflare/workers-types').ImagesBinding;
type Fetcher = import('@cloudflare/workers-types').Fetcher;
declare var astroCloudflareConfig: import('@cloudflare/vite-plugin').PluginConfig;