export interface UnixRpcClientOptions { path: string; /** A hung or dead server should never block a caller forever. Default 5000ms. */ timeoutMs?: number; } /** * Builds a `(request: Request) => Promise` transport that sends * one request over a fresh connection to `path` and resolves with the * server's one response, then closes -- matching serveUnixRpc's own * one-request-per-connection contract (no keep-alive, no pipelining). */ export declare function connectUnixRpc(options: UnixRpcClientOptions): (request: Request) => Promise;