import type React from "react";
import { type AgentDetails, type AgentMetadata } from "../../services/agentService";
import type { AgentDocumentListHandle } from "./components/AgentDocumentList";
export interface UseAgentTextareaDropHandlersOptions {
    agent: AgentDetails | undefined;
    agentMetadata: AgentMetadata | null;
    setAgentMetadata: React.Dispatch<React.SetStateAction<AgentMetadata | null>>;
    setAgent: React.Dispatch<React.SetStateAction<AgentDetails | undefined>>;
    documentListRef: React.RefObject<AgentDocumentListHandle | null>;
    documentsEnabled: boolean;
}
export interface AgentTextareaDropHandlers {
    isDragOver: boolean;
    onDragOver: (e: React.DragEvent) => void;
    onDragEnter: (e: React.DragEvent) => void;
    onDragLeave: (e: React.DragEvent) => void;
    onDrop: (e: React.DragEvent) => void;
}
/**
 * Returns drop handlers that the agent prompt textarea can use to accept:
 * - File drops → forwarded to AgentDocumentList.uploadFiles
 * - Editor item drops (pages) → appended to agent context
 * - Editor component drops → appended to agent context
 */
export declare function useAgentTextareaDropHandlers({ agent, agentMetadata, setAgentMetadata, setAgent, documentListRef, documentsEnabled, }: UseAgentTextareaDropHandlersOptions): AgentTextareaDropHandlers;
