type Row = Record; export type ConversationRoutingHome = { status: "verified"; codexHome: string; evidence: "open_arg0_lock"; } | { status: "unavailable" | "ambiguous"; reason: string; }; export interface ConversationRoutingHomePorts { processBirth(pid: number): string; openFiles(pid: number): { status: number | null; stdout: string; error?: unknown; }; } /** Codex retains a .lock descriptor in its CODEX_HOME/tmp/arg0 entry for its lifetime. * Inspect names and inode identity only; * never read its environment, log contents, credentials, or chat history. * Official implementation: codex-rs/arg0/src/lib.rs, prepare_path_entry_for_codex_aliases. */ export declare function readConversationRoutingHome(terminal: Row, ports?: Partial): ConversationRoutingHome; /** Attach private physical evidence to a raw terminal row; scan configuration is not proof. */ export declare function withConversationRoutingHome(terminal: Row, ports?: Partial): Row; export {};