import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; export declare class Agents extends ClientSDK { /** * Retrieve an agent * * @remarks * Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder. */ retrieve(agentId: string, locale?: string | undefined, timezoneOffset?: number | undefined, options?: RequestOptions): Promise; /** * List an agent's schemas * * @remarks * Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure. */ retrieveSchemas(agentId: string, locale?: string | undefined, timezoneOffset?: number | undefined, options?: RequestOptions): Promise; /** * Search agents * * @remarks * Search for [agents](https://developers.glean.com/agents/agents-api) by agent name. */ list(request: components.SearchAgentsRequest, options?: RequestOptions): Promise; /** * Create an agent run and stream the response * * @remarks * Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE). **Note**: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the `input` object. */ runStream(request: components.AgentRunCreate, options?: RequestOptions): Promise; /** * Create an agent run and wait for the response * * @remarks * Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response. **Note**: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the `input` object. */ run(request: components.AgentRunCreate, options?: RequestOptions): Promise; } //# sourceMappingURL=agents.d.ts.map