import { type TcpClientDependencies } from "../egress/TcpClient.js"; import type { CliProcess } from "./CliProcess.js"; export declare const TCP_CLIENT_ARGUMENTS: { readonly valued: readonly ["control-api", "api", "gateway", "route", "credential-file", "target", "port"]; readonly flags: readonly ["help"]; }; /** No FIFO can block open; no bytes are read before checking the opened file itself. */ export declare function readTcpCredentialFile(file: string, options?: { readonly platform?: typeof process.platform; readonly uid?: number; }): string; /** Holds two spare outbound legs using only the connector's credential file and fixed local target. */ export declare function runConnector(io: CliProcess, argv: readonly string[], dependencies?: TcpClientDependencies): Promise; /** A single loopback listener using the distinct client credential; no arbitrary bind option. */ export declare function runTunnel(io: CliProcess, argv: readonly string[], dependencies?: TcpClientDependencies): Promise; //# sourceMappingURL=TcpClientCli.d.ts.map