/** * capture Command - Get current terminal output * Issue #518: [DR1-08] Factory pattern * Issue #1623: `--pane` reads the raw tmux pane as a transcript (案B) * Issue #1685: `--prompts` lists the resolved-prompt audit trail */ import { Command } from 'commander'; import { ApiClient } from '../utils/api-client'; /** * Read one instance's pane and return its squeezed tail, or null. * * Exported for `ask` (Issue #2376), which needs the same read for the tools * that keep no transcript — and which must not import * `lib/tmux/transcript-squeeze` itself: Issue #1922's import guard names this * module in its allowlist as baseline debt that "may only shrink", so the * squeeze stays behind the command that already owns it. * * Null on any failure. Both callers treat an unreadable pane as "no reply to * show", never as an error of their own. * * @param client - API client * @param worktreeId - Worktree ID * @param cliToolId - Resolved CLI tool * @param instanceId - Resolved instance ID, when there is one * @param tail - Lines of squeezed transcript to keep */ export declare function readSqueezedPaneTail(client: ApiClient, worktreeId: string, cliToolId: string, instanceId: string | undefined, tail: number): Promise; export declare function createCaptureCommand(): Command; //# sourceMappingURL=capture.d.ts.map