import type { AgentProfile } from './agents.js'; /** All agents that ACP Kit officially supports. */ export declare const supportedAgents: readonly AgentProfile[]; export interface AgentDetectionResult { agent: AgentProfile; /** `true` when the primary command OR any fallback command resolves on PATH. */ installed: boolean; } /** * Detect which of the officially-supported ACP agents are available locally. * * An agent is reported as installed when its primary command **or** any * fallback command (e.g. `npx`) is found on PATH — matching the runtime's * own launch resolution so no valid configuration is rejected. * * @param agents - Optional subset of agents to check. Defaults to all supported agents. * @returns One entry per agent with its `installed` status. * * ```ts * import { detectInstalledAgents } from '@acp-kit/core'; * * const results = await detectInstalledAgents(); * for (const { agent, installed } of results) { * console.log(`${agent.displayName}: ${installed ? 'available' : 'not found'}`); * } * ``` */ export declare function detectInstalledAgents(agents?: readonly AgentProfile[]): AgentDetectionResult[];