import type { Target } from "./protocol.js";
/**
 * The suggestion on a Claude screen read with its styles, or undefined when
 * there is none. Only an input line whose every character after the prompt is
 * dim counts: once the owner types, their text is drawn plain. A narrow pane
 * cuts a long suggestion with "…" instead of wrapping it; a cut one is not
 * offered, since sending half a sentence would be worse than nothing.
 */
export declare function claudeSuggestion(screen: string): string | undefined;
/** The suggestion as drawn, a narrow pane's cut one ("…" at the end) included, for refusing a relay of what
 * a screen read shows; undefined when there is none. */
export declare function claudeSuggestionShown(screen: string): string | undefined;
/** Claude Code showing a subagent's (or teammate's) view: its empty input box
 * reads "Message @<agent>…". Text typed there goes to that agent, not the
 * conversation, so a phone message typed into it never reaches the turn;
 * Escape returns to the main view. */
export declare const SUBAGENT_VIEW: RegExp;
export declare function claudeSubagentView(screen: string): boolean;
/** Whether Claude's live input box holds no typed text: nothing after the
 * prompt glyph, or only dim placeholder or suggestion text. False for typed
 * text, a subagent's view, or no single-line live box on screen (typed text
 * that wraps leaves no rule under the prompt line). */
export declare function claudeInputEmpty(screen: string): boolean;
/** Exact visible typed text in an unambiguous single-line composer. Wrapped,
 * collapsed-paste and dim suggestion inputs cannot prove the delivery's text. */
export declare function claudeInputMatches(screen: string, text: string): boolean;
type Composer = {
    state: "verified-empty" | "occupied" | "unreadable";
    draft?: string;
};
/** A styled visible read distinguishes Claude's dim hints from typed text. */
export declare function readClaudeComposerScreen(target: Target): Promise<string | undefined>;
/** The full visible draft, when Claude displays it in an unambiguous single-line composer. */
export declare function claudeDraft(screen: string): string | undefined;
export declare function claudeComposerState(screen: string | undefined): Composer["state"];
export {};
