import type { AgentsContext as Client } from "./index.js"; import type { Agent, _AgentsPagedResultAgent, AgentDeletionStatus, ThreadRun } from "../models/models.js"; import { ToolOutput } from "../models/models.js"; import type { CreateThreadAndRunOptionalParams, DeleteAgentOptionalParams, UpdateAgentOptionalParams, GetAgentOptionalParams, ListAgentsOptionalParams, CreateAgentOptionalParams } from "./options.js"; import type { PagedAsyncIterableIterator } from "../static-helpers/pagingHelpers.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { AgentEventMessageStream, AgentRunResponse } from "../models/streamingModels.js"; import type { RunsCreateRunOptionalParams, RunsSubmitToolOutputsToRunOptionalParams } from "./runs/options.js"; export declare function _createThreadAndRunSend(context: Client, assistantId: string, options?: CreateThreadAndRunOptionalParams): StreamableMethod; export declare function _createThreadAndRunDeserialize(result: PathUncheckedResponse): Promise; /** Creates a new agent thread and immediately starts a run using that new thread. */ export declare function createThreadAndRun(context: Client, assistantId: string, options?: CreateThreadAndRunOptionalParams): AgentRunResponse; export declare function _deleteAgentSend(context: Client, assistantId: string, options?: DeleteAgentOptionalParams): StreamableMethod; export declare function _deleteAgentDeserialize(result: PathUncheckedResponse): Promise; /** Deletes an agent. */ export declare function deleteAgent(context: Client, assistantId: string, options?: DeleteAgentOptionalParams): Promise; export declare function _updateAgentSend(context: Client, assistantId: string, options?: UpdateAgentOptionalParams): StreamableMethod; export declare function _updateAgentDeserialize(result: PathUncheckedResponse): Promise; /** Modifies an existing agent. */ export declare function updateAgent(context: Client, assistantId: string, options?: UpdateAgentOptionalParams): Promise; export declare function _getAgentSend(context: Client, assistantId: string, options?: GetAgentOptionalParams): StreamableMethod; export declare function _getAgentDeserialize(result: PathUncheckedResponse): Promise; /** Retrieves an existing agent. */ export declare function getAgent(context: Client, assistantId: string, options?: GetAgentOptionalParams): Promise; export declare function _listAgentsSend(context: Client, options?: ListAgentsOptionalParams): StreamableMethod; export declare function _listAgentsDeserialize(result: PathUncheckedResponse): Promise<_AgentsPagedResultAgent>; /** Gets a list of agents that were previously created. */ export declare function listAgents(context: Client, options?: ListAgentsOptionalParams): PagedAsyncIterableIterator; export declare function _createAgentSend(context: Client, model: string, options?: CreateAgentOptionalParams): StreamableMethod; export declare function _createAgentDeserialize(result: PathUncheckedResponse): Promise; /** Creates a new agent. */ export declare function createAgent(context: Client, model: string, options?: CreateAgentOptionalParams): Promise; /** Create a run and stream the events */ export declare function createRunStreaming(context: Client, assistantId: string, threadId: string, options?: RunsCreateRunOptionalParams): Promise; /** Create a thread and run and stream the events */ export declare function createThreadAndRunStreaming(context: Client, assistantId: string, options?: CreateThreadAndRunOptionalParams): Promise; export declare function submitToolOutputsToRunStreaming(context: Client, threadId: string, runId: string, toolOutputs: ToolOutput[], options?: RunsSubmitToolOutputsToRunOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map