import { AgentConfig } from '../types/index.js';
/**
 * Determines if an agent can be run from the browser UI.
 *
 * Some agents (like Claude Code) require CLI execution because they:
 * - Spawn local processes via child_process.spawn() (Node.js only)
 * - Access local filesystem or environment variables
 * - Cannot operate within browser sandbox security constraints
 *
 * @param agent - The agent configuration to check
 * @returns true if the agent can be run from the browser, false if CLI-only
 */
export declare function isBrowserCompatible(agent: AgentConfig): boolean;
/**
 * Gets a user-friendly explanation for why an agent cannot run from the UI.
 *
 * @param agent - The agent configuration to check
 * @returns Error message if agent requires CLI, null if browser-compatible
 */
export declare function getAgentUnavailableReason(agent: AgentConfig): string | null;
/**
 * Gets the first browser-compatible agent from a list.
 * Useful for setting default selection in UI components.
 *
 * @param agents - List of agent configurations
 * @returns The first browser-compatible agent, or undefined if none found
 */
export declare function getFirstBrowserCompatibleAgent(agents: AgentConfig[]): AgentConfig | undefined;
//# sourceMappingURL=agentUtils.d.ts.map