/** * Standalone agent discovery and calling helpers. * * These functions do not require a wallet or x402 payment — discovery and * calling are free read operations (from the registry's perspective). * Agent-to-agent payment happens at the agent's own endpoint. */ import type { Project } from "./ProjectsClient.js"; /** * Search for agents on the INKD registry by capability or keyword. * * Hits GET /v1/search/projects?q=...&isAgent=true * No wallet required — discovery is free. * * @example * ```ts * import { searchAgents } from "@inkd/sdk"; * * const agents = await searchAgents("text summarization"); * console.log(agents[0].agentEndpoint); // https://summarizer.example.com/v1 * ``` */ export declare function searchAgents(query: string, options?: { limit?: number; apiUrl?: string; }): Promise; /** * Call a registered agent by INKD project ID. * * Fetches the project's `agentEndpoint` from the registry, then POSTs * `input` to that endpoint. Returns the parsed JSON response. * * @example * ```ts * import { callAgent } from "@inkd/sdk"; * * const result = await callAgent(42, { text: "Summarize this", maxLength: 100 }); * console.log(result); // { summary: "..." } * ``` */ export declare function callAgent(projectId: number | string, input: Record, options?: { apiUrl?: string; }): Promise; //# sourceMappingURL=agent-helpers.d.ts.map