import { type SetStateAction } from "react";
import type { AgentDetails, AgentMetadata } from "../../services/agentService";
export type AgentMode = "autonomous" | "read-only" | "supervised";
export declare function useAgentModeState(input: {
    agent: AgentDetails | undefined;
    agentMetadata: AgentMetadata | null | undefined;
    setAgent: (nextAgent: SetStateAction<AgentDetails | undefined>) => void;
    setAgentMetadata: (nextMetadata: SetStateAction<AgentMetadata | null>) => void;
}): {
    mode: AgentMode;
    setMode: import("react").Dispatch<SetStateAction<AgentMode>>;
    handleSwitchToAutonomous: () => void;
};
