import type { ChatMessage } from "../../../types.js"; export interface EmptyResponseState { emptyVisibleRetries: number; retryWithoutThinking: boolean; interruptedReasoning: string; } export interface EmptyResponsePorts { readonly messages: ChatMessage[]; readonly toolsAttached: boolean; readonly planModeWithoutPlan: boolean; readonly notify: (level: "info" | "warn", message: string) => void; readonly commitAssistantRetry: (text: string) => void; readonly recoveryUserMessage: (content: string) => ChatMessage; } export interface EmptyResponseInput { readonly assistantVisible: string; readonly assistantThinkContent: string; readonly hasThinking: boolean; readonly incompleteNativeStream: boolean; } export type EmptyResponseDecision = "continue-round" | "stop"; export declare const handleEmptyResponse: (ports: EmptyResponsePorts, state: EmptyResponseState, input: EmptyResponseInput) => EmptyResponseDecision;