/** * Heuristics for detecting when a CLI subprocess is waiting for user input. */ /** * Detect if the recent output looks like a CLI prompt waiting for input. * Only considers the last line of output. */ export declare function detectInputPrompt(recentOutput: string): boolean; /** * Extract the prompt text from recent output. * Returns the last meaningful line (or last few lines if they form a question). */ export declare function extractPromptText(recentOutput: string): string; //# sourceMappingURL=prompt-detection.d.ts.map