import { type TmuxServerProof } from "./tmux-owner-isolation"; /** Matches the sole argv shape allowed to enter the owner-isolation JSON-line protocol. */ export declare function isTmuxOwnerIsolationCliArgv(argv: readonly string[]): boolean; interface TmuxListSessionsResult { exitCode: number | null; stdout: string; stderr: string; } interface TmuxServerProofOptions { platform?: NodeJS.Platform; runListSessions?: (argv: string[]) => TmuxListSessionsResult; } /** Probes a tmux server using an injectable list-sessions runner for platform-bounded callers. */ export declare function tmuxServerProof(socketKey: string, tmuxControlArgv?: string[], options?: TmuxServerProofOptions): Promise; /** Reads exactly one bounded JSON line and writes exactly one JSON response line. */ export declare function runTmuxOwnerIsolationCli(stdin: string): Promise; export declare function runTmuxOwnerIsolationCliFromStdin(): Promise; export {};