export type TunnelWellKnownTransport = {
    tls: 'broker_terminated' | string;
    publicScheme?: string;
};
export type TunnelWellKnownConfig = {
    brokerUrl: string;
    frp: {
        serverAddr: string;
        serverPort: number;
        subdomainHost: string;
    };
    frpcVersion: string;
    heartbeatIntervalMs: number;
    transport?: TunnelWellKnownTransport;
};
/**
 * Fetch `/.well-known/tunnel-config` (broker URL, frp endpoints, frpc version).
 * Registration secret is never published here — use `XOPC_TUNNEL_REGISTRATION_SECRET`.
 */
export declare function fetchTunnelWellKnown(brokerUrl: string): Promise<TunnelWellKnownConfig>;
export declare function pingTunnelBroker(brokerUrl: string): Promise<boolean>;
export declare function clearTunnelWellKnownCache(): void;
