import type { AIProjectContext } from "../../api/aiProjectContext.js"; import type { AgentsListVersionsOptionalParams, AgentsDeleteVersionOptionalParams, AgentsGetVersionOptionalParams, AgentsCreateAgentVersionFromManifestOptionalParams, AgentsListOptionalParams, AgentsDeleteOptionalParams, AgentsUpdateAgentFromManifestOptionalParams, AgentsCreateAgentFromManifestOptionalParams, AgentsUpdateOptionalParams, AgentsCreateOptionalParams, AgentsGetOptionalParams } from "../../api/agents/options.js"; import type { Agent, AgentVersion, AgentDefinitionUnion, DeleteAgentResponse, DeleteAgentVersionResponse } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "@azure/core-paging"; /** Interface representing a Agents operations. */ export interface AgentsOperations { /** Returns the list of versions of an agent. */ listVersions: (agentName: string, options?: AgentsListVersionsOptionalParams) => PagedAsyncIterableIterator; /** Deletes a specific version of an agent. */ deleteVersion: (agentName: string, agentVersion: string, options?: AgentsDeleteVersionOptionalParams) => Promise; /** Retrieves a specific version of an agent. */ getVersion: (agentName: string, agentVersion: string, options?: AgentsGetVersionOptionalParams) => Promise; /** Create a new agent version. */ createVersion(agentName: string, definition: AgentDefinitionUnion, options?: AgentsCreateOptionalParams): Promise; /** Create a new agent version from a manifest. */ createVersion(agentName: string, manifestId: string, parameterValues: Record, options?: AgentsCreateAgentVersionFromManifestOptionalParams): Promise; /** Returns the list of all agents. */ list: (options?: AgentsListOptionalParams) => PagedAsyncIterableIterator; /** Deletes an agent. */ delete: (agentName: string, options?: AgentsDeleteOptionalParams) => Promise; /** * Updates the agent from a manifest by adding a new version if there are any changes to the agent definition. * If no changes, returns the existing agent version. */ update(agentName: string, manifestId: string, parameterValues: Record, options?: AgentsUpdateAgentFromManifestOptionalParams): Promise; /** * Updates the agent by adding a new version if there are any changes to the agent definition. * If no changes, returns the existing agent version. */ update(agentName: string, definition: AgentDefinitionUnion, options?: AgentsUpdateOptionalParams): Promise; /** Creates the agent. */ create(name: string, definition: AgentDefinitionUnion, options?: AgentsCreateOptionalParams): Promise; /** Creates an agent from a manifest. */ create(name: string, manifestId: string, parameterValues: Record, options?: AgentsCreateAgentFromManifestOptionalParams): Promise; /** Retrieves the agent. */ get: (agentName: string, options?: AgentsGetOptionalParams) => Promise; } export declare function _getAgentsOperations(context: AIProjectContext): AgentsOperations; //# sourceMappingURL=index.d.ts.map