/**
 * Agents Command
 *
 * Routes CLI invocations to 27 downstream agent Cloud Functions.
 * Uses the existing adapter layer (createAdapter + invoke_agent).
 *
 * Usage:
 *   agentics agents list
 *   agentics agents health <domain>
 *   agentics agents invoke <domain> <agent> [json-payload]
 */
import type { ServiceName } from '../adapters/base-adapter.js';
import type { CommandOptions } from '../types/index.js';
interface AgentDomain {
    serviceName: ServiceName;
    agents: string[];
    phase: string;
}
export declare const AGENT_DOMAINS: Record<string, AgentDomain>;
export interface AgentsListResult {
    domains: {
        name: string;
        serviceName: string;
        agents: string[];
        agentCount: number;
        phase: string;
    }[];
    totalDomains: number;
    totalAgents: number;
    timing: number;
}
export interface AgentsHealthResult {
    domain: string;
    serviceName: string;
    healthy: boolean;
    response: unknown;
    timing: number;
}
export interface AgentsInvokeResult {
    domain: string;
    agent: string;
    status: number;
    response: unknown;
    timing: number;
}
export declare function executeAgentsListCommand(_options: CommandOptions): Promise<AgentsListResult>;
export declare function executeAgentsHealthCommand(domain: string, options: CommandOptions): Promise<AgentsHealthResult>;
export declare function executeAgentsInvokeCommand(domain: string, agent: string, payload: unknown, options: CommandOptions): Promise<AgentsInvokeResult>;
export declare function formatAgentsListForDisplay(result: AgentsListResult): string;
export declare function formatAgentResultForDisplay(result: AgentsInvokeResult): string;
export interface IntentClassification {
    domain: string;
    agent: string;
    confidence: number;
    suggested_payload: Record<string, unknown>;
    reasoning?: string;
    alternatives?: Array<{
        domain: string;
        agent: string;
        confidence: number;
    }>;
}
export interface NaturalLanguageRouteResult {
    intent: IntentClassification;
    invocation: AgentsInvokeResult;
    timing: number;
}
export interface MultiAgentRouteResult {
    query: string;
    intents: IntentClassification[];
    invocations: Array<{
        intent: IntentClassification;
        result: AgentsInvokeResult | {
            error: string;
        };
    }>;
    timing: number;
}
export type RouteResult = {
    kind: 'single';
    result: NaturalLanguageRouteResult;
} | {
    kind: 'multi';
    result: MultiAgentRouteResult;
};
export declare function executeNaturalLanguageRoute(query: string, options: CommandOptions): Promise<RouteResult>;
export declare function formatNaturalLanguageRouteForDisplay(result: NaturalLanguageRouteResult): string;
export declare function formatMultiAgentRouteForDisplay(result: MultiAgentRouteResult): string;
export declare function formatRouteResultForDisplay(routeResult: RouteResult): string;
export declare function routeResultToJson(routeResult: RouteResult, query: string): unknown;
export {};
//# sourceMappingURL=agents.d.ts.map