import { type SetStateAction } from "react";
import type { Agent, AgentDetails } from "../../services/agentService";
import type { AiProfile } from "../../services/aiService";
type StateSetter<T> = (next: SetStateAction<T>) => void;
export declare function useAgentInfoSocketHandler(input: {
    agent: AgentDetails | undefined;
    profiles: AiProfile[];
    setAgent: StateSetter<AgentDetails | undefined>;
    setActiveProfile: StateSetter<AiProfile | undefined>;
    onAgentUpdate?: (updates: Partial<Agent>) => void;
}): (messageType: string, payload: any) => boolean;
export {};
