import { type FrpcReleasePlatform } from './frpc-extract.js'; import type { FrpcDownloadProgress } from './tunnel-types.js'; export declare const FRPC_VERSION = "0.62.1"; export type { FrpcDownloadProgress }; export type EnsureFrpcBinaryOptions = { onProgress?: (progress: FrpcDownloadProgress) => void; }; export declare function buildFrpcReleaseBasename(frpPlatform: FrpcReleasePlatform, arch: string, version?: string): string; export declare function frpcDownloadUrlsForTarget(frpPlatform: FrpcReleasePlatform, arch: string, version?: string): string[]; /** Set after a successful tunnel start so subprocesses can resolve the same binary. */ export declare function publishFrpcPathForProcess(binPath: string): void; /** Clear runtime frpc path when the tunnel stops (no bundled Electron binary). */ export declare function clearFrpcPathForProcess(): void; export declare function ensureFrpcBinary(opts?: EnsureFrpcBinaryOptions): Promise;