export interface ShellPromptOption { /** Positional fallback number (1-based). Authoritative answer is `answerKeys`. */ index: number; label: string; /** The exact bytes to send to answer this option, e.g. "y\r" or "2\r". */ answerKeys: string; } export interface ShellPrompt { prompt: string; options: ShellPromptOption[]; } /** * Scrape an unstructured shell prompt from rendered screen lines. Returns null * when the tail isn't a recognised prompt (prose, Claude's own UI, empty). * Pure — no I/O. */ export declare function detectShellPrompt(lines: string[]): ShellPrompt | null; //# sourceMappingURL=detectShellPrompt.d.ts.map