import type { Command } from "commander"; import type { EmitContext, HarneryProgramContext } from "../commander.js"; import { type TunnelProvider, type TunnelState } from "../lib/tunnel/state.js"; export declare function tunnelLogDestinations(name: string, provider: TunnelProvider, env?: NodeJS.ProcessEnv, root?: string): { gate: string; provider: string; }; /** * Restart ONE instance's gate in place, deliberately leaving the provider * process running. * * That asymmetry is the whole point. A Cloudflare quick tunnel's hostname is * minted by cloudflared at startup, so a full `down`/`up` hands back a NEW * random *.trycloudflare.com URL and breaks every link already shared — a * miserable trade for adding one IP. cloudflared only ever forwards to * `localhost:`, so the gate beneath it can be swapped out and the * edge reconnects without noticing. */ export declare function reloadOne(state: TunnelState): Promise<{ ok: boolean; message: string; }>; export declare function registerTunnelCommand(program: Command, emitParam: EmitContext, contextParam?: HarneryProgramContext): void; //# sourceMappingURL=tunnel.d.ts.map