import type { AgentChatMessage, AgentDiagnosticsPendingDialog } from "../../services/agentService";
import type { AgentSessionActiveInlineDialog } from "./types";
export declare function useAgentQuestionnaireDialogRecovery(input: {
    messagesRef: {
        current: AgentChatMessage[];
    };
    agentId: string;
    sessionId?: string;
    setActiveInlineDialog: (dialog: AgentSessionActiveInlineDialog | null) => void;
    appendToolUiEvent: (type: string, detail?: string | null, seq?: number | null) => void;
    onInteractionSubmitted?: () => void | Promise<void>;
}): (pendingDialog: AgentDiagnosticsPendingDialog) => boolean;
