import { type Dispatch, type SetStateAction } from "react";
import type { SelectOption } from "../components/ui/select";
import type { EditContextType } from "../editor/client/editContext";
import type { ItemDescriptor } from "../editor/pageModel";
import type { TaskAgentPanelMode } from "./components/TaskAgentPanel";
import type { TaskItem } from "./types";
type UseTaskBoardAgentPanelStateOptions = {
    currentItemDescriptor: ItemDescriptor | undefined;
    editContext: EditContextType | undefined;
    isMobile: boolean;
    mobileActiveTab: number;
    selectedTask: TaskItem | null;
    selectedTaskId: string | null;
    setMobileActiveTab: Dispatch<SetStateAction<number>>;
    showEditorPanel: boolean;
};
export declare function useTaskBoardAgentPanelState({ currentItemDescriptor, editContext, isMobile, mobileActiveTab, selectedTask, selectedTaskId, setMobileActiveTab, showEditorPanel, }: UseTaskBoardAgentPanelStateOptions): {
    agentPanelMode: TaskAgentPanelMode;
    canRunAssignedAgent: boolean;
    contextItemOptions: SelectOption[];
    displayAgentId: string | null;
    handleSelectContextItem: (value: string) => void;
    hasMultipleContextItems: boolean;
    previewItemName: string;
    previewItemPath: string;
    previewItemVersion: number | null;
    runAssignedAgentDisabledReason: string | undefined;
    selectedContextItemValue: string;
    selectedTaskHasAssignedAgentProfile: boolean;
    selectedTaskIsBlocked: boolean;
    selectedTaskIsPlan: boolean;
    shouldHideAgentPanelForSelectedTask: boolean;
};
export {};
