import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ToolSets, ToolSets$Outbound } from "./toolsets.js"; /** * Name of the agent. */ export declare const AgentEnum: { /** * Integrates with your company's knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values */ readonly Default: "DEFAULT"; /** * Communicates directly with the LLM. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values */ readonly Gpt: "GPT"; /** * Uses both company and web knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values */ readonly Universal: "UNIVERSAL"; /** * Uses an agent powered by the agentic engine that responds faster but may have lower quality results. Requires the agentic engine to be enabled in the deployment. */ readonly Fast: "FAST"; /** * Uses an agent powered by the agentic engine that thinks for longer and potentially makes more LLM calls to return higher quality results. Requires the agentic engine to be enabled in the deployment. */ readonly Advanced: "ADVANCED"; /** * Uses an agent powered by the agentic engine that routes between reasoning efforts based on the question and context. */ readonly Auto: "AUTO"; }; /** * Name of the agent. */ export type AgentEnum = OpenEnum; /** * Top level modes to run GleanChat in. */ export declare const Mode: { /** * Used if no mode supplied. */ readonly Default: "DEFAULT"; /** * Deprecated. */ readonly Quick: "QUICK"; }; /** * Top level modes to run GleanChat in. */ export type Mode = OpenEnum; /** * Describes the agent that executes the request. */ export type AgentConfig = { /** * Name of the agent. */ agent?: AgentEnum | undefined; /** * The types of tools that the agent is allowed to use. Only works with FAST and ADVANCED `agent` values */ toolSets?: ToolSets | undefined; /** * Top level modes to run GleanChat in. */ mode?: Mode | undefined; /** * Whether the agent should create an image. */ useImageGeneration?: boolean | undefined; }; /** @internal */ export declare const AgentEnum$inboundSchema: z.ZodType; /** @internal */ export declare const AgentEnum$outboundSchema: z.ZodType; /** @internal */ export declare const Mode$inboundSchema: z.ZodType; /** @internal */ export declare const Mode$outboundSchema: z.ZodType; /** @internal */ export declare const AgentConfig$inboundSchema: z.ZodType; /** @internal */ export type AgentConfig$Outbound = { agent?: string | undefined; toolSets?: ToolSets$Outbound | undefined; mode?: string | undefined; useImageGeneration?: boolean | undefined; }; /** @internal */ export declare const AgentConfig$outboundSchema: z.ZodType; export declare function agentConfigToJSON(agentConfig: AgentConfig): string; export declare function agentConfigFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=agentconfig.d.ts.map