import type { AgentDiagnosticsPendingDialog } from "../../services/agentService";
import type { AgentSessionActiveInlineDialog } from "./types";
export declare function useAgentPendingDialogRecovery(input: {
    agentId: string;
    agentStatus: unknown;
    sessionId: string | undefined;
    activeInlineDialog: AgentSessionActiveInlineDialog | null;
    activeInlineDialogRef: {
        current: AgentSessionActiveInlineDialog | null;
    };
    terminalInstanceIdRef: {
        current: string;
    };
    appendToolUiEvent: (type: string, detail?: string | null, seq?: number | null) => void;
    recoverPendingDialog?: (pendingDialog: AgentDiagnosticsPendingDialog) => boolean;
}): {
    schedulePendingDialogReplay: (targetAgentId: string, callbackId: string, dialogType?: string | null) => void;
};
