/**
 * useQuantumSwarm.ts
 *
 * React hook for interacting with the Quantum Swarm Orchestrator API.
 * Provides access to the quantum swarm client and common operations.
 */
import QuantumSwarmClient, { SwarmAgent, CognitiveWorkflow, WorkflowInsight, QuantumSwarmClientConfig } from './index.js';
interface UseQuantumSwarmOptions extends QuantumSwarmClientConfig {
    autoInitialize?: boolean;
}
interface UseQuantumSwarmResult {
    client: QuantumSwarmClient;
    agents: SwarmAgent[];
    workflows: CognitiveWorkflow[];
    insights: WorkflowInsight[];
    loading: {
        agents: boolean;
        workflows: boolean;
        insights: boolean;
    };
    error: {
        agents: Error | null;
        workflows: Error | null;
        insights: Error | null;
    };
    fetchAgents: () => Promise<void>;
    fetchWorkflows: () => Promise<void>;
    fetchWorkflowInsights: (workflowId: string) => Promise<void>;
    createAgent: (agent: Omit<SwarmAgent, 'id' | 'quantumState' | 'currentEntanglements'>) => Promise<SwarmAgent>;
    createWorkflow: (name: string, description: string, agentIds?: string[], specializationAreas?: string[]) => Promise<CognitiveWorkflow>;
    contributeInsight: (workflowId: string, agentId: string, insightType: WorkflowInsight['type'], insightContent: any, confidence?: number) => Promise<WorkflowInsight>;
    initiateConsensus: (workflowId: string, topic: string) => Promise<any>;
    specializeAgent: (agentId: string, specializations: Record<string, number>) => Promise<SwarmAgent>;
}
/**
 * React hook for interacting with the Quantum Swarm Orchestrator
 *
 * @param options Configuration options for the quantum swarm client
 * @returns Object containing the client, data, loading states, errors, and methods
 */
export declare function useQuantumSwarm(options?: UseQuantumSwarmOptions): UseQuantumSwarmResult;
export default useQuantumSwarm;
//# sourceMappingURL=useQuantumSwarm.d.ts.map