import type { InferenceProviderOrPolicy } from "@huggingface/inference"; import type { ChatCompletionInputMessageTool } from "./McpClient"; import { McpClient } from "./McpClient"; import type { ChatCompletionInputMessage, ChatCompletionStreamOutput } from "@huggingface/tasks"; import type { StdioServerParameters } from "@modelcontextprotocol/sdk/client/stdio"; import type { ServerConfig } from "./types"; export declare class Agent extends McpClient { private readonly servers; readonly prompt: string; protected messages: ChatCompletionInputMessage[]; constructor({ provider, endpointUrl, model, apiKey, servers, prompt, }: ({ provider: InferenceProviderOrPolicy; endpointUrl?: undefined; } | { endpointUrl: string; provider?: undefined; }) & { model: string; apiKey?: string; servers: (ServerConfig | StdioServerParameters)[]; prompt?: string; }); loadTools(): Promise; run(input: string | ChatCompletionInputMessage[], opts?: { abortSignal?: AbortSignal; }): AsyncGenerator; } //# sourceMappingURL=Agent.d.ts.map