interface TunnelOptions { url?: string; port?: number | string; hostname?: string; protocol?: "http" | "https"; verifyTLS?: boolean; acceptCloudflareNotice?: boolean; } interface Tunnel { getURL: () => Promise; close: () => Promise; } declare function startTunnel(opts: TunnelOptions): Promise; export { type Tunnel, type TunnelOptions, startTunnel };