import type { Socket } from "node:net";
import type { Duplex } from "node:stream";
import { type HostAdmission } from "./host-admission.ts";
import type { PublicRpcConnection } from "./rpc-public-auth.ts";
/**
 * Requests are size-bounded; each direction awaits downstream socket backpressure.
 * Opens remain concurrent with control commands. Stop refuses every pending open,
 * while other commands retain their wire order and child-owned semantics.
 */
export declare function proxyWithAdmission(client: Socket, internal: Duplex | undefined, admission: HostAdmission, auth?: PublicRpcConnection, 
/** The client proved the launch credential at admission (the Windows public secret): say so to the host first. */
launchProven?: boolean): void;
//# sourceMappingURL=host-admission-proxy.d.ts.map