import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import type * as Agora from "../../../index.js"; export declare namespace AgentManagementClient { interface Options extends BaseClientOptions { } interface RequestOptions extends BaseRequestOptions { } } /** * Operations for managing conversational AI agents */ export declare class AgentManagementClient { protected readonly _options: AgentManagementClient.Options; constructor(options: AgentManagementClient.Options); /** * Send a custom text instruction to the specified conversational AI agent instance. * * The instruction is injected into the current conversation pipeline as user input, and the agent processes and responds to it following the standard user input logic. * * Use this endpoint for the following scenarios: * - **Implicit instruction injection**: Inject hidden context or directives into the conversation. * - **Client-side event triggering**: Notify the agent of client-side events, such as a user clicking a button. * - **Voice and text collaboration**: Combine text instructions with voice input for richer interaction. * * @param {Agora.AgentThinkAgentManagementRequest} request * @param {AgentManagementClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.agentManagement.agentThink({ * appid: "appid", * agentId: "agentId", * text: "The user just clicked the purchase button.", * on_listening_action: "inject", * on_thinking_action: "interrupt", * on_speaking_action: "ignore", * interruptable: true, * metadata: { * "publisher": "user123", * "model": "deepseek-r1" * } * }) */ agentThink(request: Agora.AgentThinkAgentManagementRequest, requestOptions?: AgentManagementClient.RequestOptions): core.HttpResponsePromise; private __agentThink; protected _getAuthorizationHeader(): Promise; protected _getCustomAuthorizationHeaders(): Promise>; }