/** A running cloudflared quick tunnel exposing the local server publicly. */ export interface QuickTunnel { /** Public hostname without scheme, e.g. "abc-def-xyz.trycloudflare.com". */ hostname: string; /** Stop the tunnel process (best effort, never throws). */ stop(): Promise; } /** Thrown when cloudflared is not installed / not on PATH. Never fatal: LAN keeps serving. */ export declare class CloudflaredNotFoundError extends Error { constructor(); } /** * Start a cloudflared quick tunnel pointing at the local HTTP server. * Resolves once the public trycloudflare.com URL has been parsed from stderr. * Rejects with CloudflaredNotFoundError (binary missing) or Error (exited/timeout). */ export declare function startQuickTunnel(port: number): Promise;