import type * as miniflare from "miniflare"; import type { CloudflareApi } from "../api.ts"; export interface Tunnel { /** * Enables tunneling for a local worker. * Returns a `workers.dev` URL that can be used to access the worker. */ configureWorker: (input: { api: CloudflareApi; name: string; }) => Promise; /** * Closes the tunnel. */ close: () => Promise; } export declare function createTunnel(getMiniflare: () => Promise): Promise; //# sourceMappingURL=tunnel.d.ts.map