import { GleanCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * 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. */ export declare function clientAgentsRun(client: GleanCore, request: components.AgentRunCreate, options?: RequestOptions): APIPromise>; //# sourceMappingURL=clientAgentsRun.d.ts.map