import type { TerminalScreenInspection, TerminalRuntimeIdentity } from "./terminal-agent-adapter.js"; import { type TerminalControlRef } from "./terminal-control-ref.js"; export declare const CLAUDE_INJECTED_PASTE_FRAME_PROFILE = "claude-code-injected-paste-v1"; export type ClaudeComposerBeforeEnterProof = { state: "exact_draft"; terminalControl: TerminalControlRef; digest: string; } | { state: "exact_injected_paste_placeholder"; terminalControl: TerminalControlRef; digest: string; pasteId: number; newlineCount: number; frameProfile: string; stableCaptures: number; }; export interface ClaudeInjectedPasteCapture { state: "exact_injected_paste_placeholder"; digest: string; pasteId: number; newlineCount: number; frameProfile: string; } interface ClaudeComposerCapture { terminalControl: TerminalControlRef; screen: string; inspection: TerminalScreenInspection; } export interface ClaudeInjectedPasteProofPorts { nowMs(): number; sleep(milliseconds: number): Promise; capture(terminalControl: TerminalControlRef, runtime: TerminalRuntimeIdentity | undefined): Promise; verifyIdentity(terminalControl: TerminalControlRef, runtime: TerminalRuntimeIdentity | undefined): Promise; exactDraft(screen: string, expectedText: string): { digest: string; } | undefined; exactInjectedPastePlaceholder(screen: string, expectedText: string): ClaudeInjectedPasteCapture | undefined; } export declare function claudeInjectedPasteProofEligible(input: { agent: string; multiline: boolean; composerVerifiedImmediatelyBeforeText: boolean; terminalControl: TerminalControlRef; }): boolean; export declare function settleClaudeInjectedPasteComposer(input: { terminalControl: TerminalControlRef; expectedText: string; runtime?: TerminalRuntimeIdentity; allowWorkingComposer?: boolean; ports: ClaudeInjectedPasteProofPorts; }): Promise; export declare function revalidateClaudeComposerProof(input: { proof: ClaudeComposerBeforeEnterProof; expectedText: string; runtime?: TerminalRuntimeIdentity; allowWorkingComposer?: boolean; ports: ClaudeInjectedPasteProofPorts; }): Promise; export {};