import { DevServer, type DevServerOptions, type ResponseData } from '../dev-server';
import type { VirtualFS } from '../virtual-fs';
import { Buffer } from '../shims/stream';
export interface CloudflareWorkerDevServerOptions extends DevServerOptions {
    entry: string;
    envBindings?: Record<string, unknown>;
    localProtocol?: 'http' | 'https';
    runtimeEnv?: Record<string, string>;
}
export declare class CloudflareWorkerDevServer extends DevServer {
    private readonly entry;
    private readonly envBindings;
    private readonly localProtocol;
    private readonly runtimeEnv;
    constructor(vfs: VirtualFS, options: CloudflareWorkerDevServerOptions);
    private getCompiledModulePath;
    startWatching(): void;
    handleRequest(method: string, url: string, headers: Record<string, string>, body?: Buffer): Promise<ResponseData>;
}
//# sourceMappingURL=cloudflare-worker-dev-server.d.ts.map