import type { CacheStorage as CloudflareCacheStorage, ExecutionContext, ExportedHandlerFetchHandler } from '@cloudflare/workers-types'; import type { SSRManifest } from 'astro'; import type { App } from 'astro/app'; type Env = { [key: string]: unknown; ASSETS: { fetch: (req: Request | string) => Promise; }; }; export interface Runtime { runtime: { env: Env & T; cf: Parameters[0]['cf']; caches: CloudflareCacheStorage; ctx: ExecutionContext; }; } declare global { var __ASTRO_SESSION_BINDING_NAME: string; var __env__: Partial; } export declare function handle(manifest: SSRManifest, app: App, request: Parameters[0], env: Env, context: ExecutionContext): Promise; export {};