/*
miniflare.d.ts — ambient type declarations for Miniflare options used in tests.
- Do not implement runtime code — this file only declares ambient types.
- RFC-1097: sweep — werkstatt-engine clean
Sweep batch 4: 73 Compass headers on headerless engine files (certification, component-runtime, isolation, evolution, testing), real KEY_DECISIONS on 75 files (kernel, cache, dht, swim, gitmesh, runtime), ~80 purpose expansions (CONTRACT-02/PURPOSE-02), non-goals on 13 CONTRACT-03 files, CS-07 history literal fix repo-wide (253 files). Policy: .template.ts/.template.astro excludedPaths. werkstatt-engine now 0 diagnostics.
*/
declare module "miniflare" {
export interface MiniflareOptions {
modules?: Array<{ type: string; path: string }>;
compatibilityDate?: string;
bindings?: Record;
fetch?: typeof fetch;
[key: string]: unknown;
}
export class Miniflare {
constructor(options: MiniflareOptions);
dispatchFetch(url: string): Promise;
dispose(): Promise;
}
}