import { type PendingQuestion } from '../../utils/question-queue.js';
import { type PendingToolApproval } from '../../utils/tool-approval-queue.js';
import { type PendingToolConfirmation } from '../../utils/tool-confirm-queue.js';
interface UseGlobalHandlerQueuesProps {
    setPendingQuestion: (question: PendingQuestion | null) => void;
    setIsQuestionMode: (mode: boolean) => void;
}
interface GlobalHandlerQueues {
    handleQuestionAnswer: (answer: string) => void;
    pendingSubagentApproval: PendingToolApproval | null;
    handleSubagentToolApproval: (confirmed: boolean) => void;
    pendingToolConfirmation: PendingToolConfirmation | null;
    handleToolConfirmation: (confirmed: boolean) => void;
}
/**
 * Wires the two global "ask the user" queues into the React tree:
 *  - question-queue (ask_question tool) drives the question prompt UI
 *  - tool-approval-queue (subagent tool calls) drives a parallel approval flow
 *
 * The tool-approval queue uses a dedicated state slot so it doesn't conflict
 * with the main agent's tool confirmation flow — a subagent's tool can need
 * approval while the parent agent is mid-conversation.
 */
export declare function useGlobalHandlerQueues({ setPendingQuestion, setIsQuestionMode, }: UseGlobalHandlerQueuesProps): GlobalHandlerQueues;
export {};
//# sourceMappingURL=useGlobalHandlerQueues.d.ts.map