/**
 * Whether a session an open loads stays when the opening connection ends, decided at line receipt (senpi#5808). A
 * delegated connection ends with the viewer it forwards for, while the forwarder keeps serving what it opened to the
 * next one: every open on it is retained, whatever it asks. On a machine-owned host an open that does not say is
 * retained. The rule covers every record that opens a session on its connection: `open_session`, `claim_session`, and
 * the open an `import` asks for with `open` (senpi#6267).
 */
import type { RpcCommand } from "./rpc-types.ts";
export declare function withOpenRetention(command: RpcCommand, delegated: boolean, machineOwned: boolean): RpcCommand;
//# sourceMappingURL=open-retention.d.ts.map