import type { AgentSkill } from "../a2a/types.js"; import { type DiscoveredAgent } from "./agent-discovery.js"; /** Matches the `` prompt block so both surfaces agree. */ export declare const MAX_APPS = 30; export interface PeerCapabilities { agent: DiscoveredAgent; /** null distinguishes an unreachable card from a peer that exposes nothing. */ skills: AgentSkill[] | null; cardDescription?: string; error?: string; } export declare function loadCapabilities(agent: DiscoveredAgent): Promise; export declare function loadAllCapabilities(agents: DiscoveredAgent[]): Promise; export declare function purposeOf(peer: PeerCapabilities): string; /** * `detailHint` differs per surface: the agent tool tells the model to call * itself again with an app id, the CLI tells the reader to pass `--app`. */ export declare function formatCapabilitySummary(peers: PeerCapabilities[], truncated: number, detailHint: (appId: string) => string): string; export declare function formatCapabilityDetail(peer: PeerCapabilities, callHint: (appId: string) => string): string; //# sourceMappingURL=agent-capabilities.d.ts.map