import type { AgentInvocationResult, AgentInvocationRuntime, InvokeAgentOptions } from "../a2a/invoke.js"; import type { DiscoveredAgent } from "../server/agent-discovery.js"; type InvokeAgent = (options: InvokeAgentOptions) => Promise; export interface AgentNativeRuntime extends Partial { invokeAgent?: InvokeAgent; } export interface AgentNativeClientOptions { apiKey?: string; apiKeyEnv?: string; contextId?: string; selfAppId?: string; selfUrl?: string; userEmail?: string; orgDomain?: string; orgSecret?: string; async?: boolean; timeoutMs?: number; pollIntervalMs?: number; includeInvocationHint?: boolean; env?: Record; runtime?: AgentNativeRuntime; } export type AgentNativeInvokeOptions = Omit; export interface AgentNativeInvokeRequest extends AgentNativeInvokeOptions { agent?: string; target?: string; prompt: string; } export interface AgentNativeListAgentsOptions { selfAppId?: string; } export interface AgentNativeClient { listAgents(options?: AgentNativeListAgentsOptions): Promise; invoke(target: string, prompt: string, options?: AgentNativeInvokeOptions): Promise; invoke(request: AgentNativeInvokeRequest): Promise; } export declare function createAgentNativeClient(defaults?: AgentNativeClientOptions): AgentNativeClient; export declare const agentNative: AgentNativeClient; export {}; //# sourceMappingURL=index.d.ts.map