import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ListAgentsRequest = {
    /**
     * A limit on the number of objects to be returned. Limit can range between 1 and 200. When not provided, returns all agents without pagination.
     */
    limit?: number | undefined;
    /**
     * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
     */
    startingAfter?: string | undefined;
    /**
     * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
     */
    endingBefore?: string | undefined;
};
export declare const ListAgentsObject: {
    readonly List: "list";
};
export type ListAgentsObject = ClosedEnum<typeof ListAgentsObject>;
/**
 * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
 */
export declare const ListAgentsStatus: {
    readonly Live: "live";
    readonly Draft: "draft";
    readonly Pending: "pending";
    readonly Published: "published";
};
/**
 * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
 */
export type ListAgentsStatus = ClosedEnum<typeof ListAgentsStatus>;
/**
 * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
 */
export declare const ListAgentsToolApprovalRequired: {
    readonly All: "all";
    readonly RespectTool: "respect_tool";
    readonly None: "none";
};
/**
 * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
 */
export type ListAgentsToolApprovalRequired = ClosedEnum<typeof ListAgentsToolApprovalRequired>;
export type ListAgentsConditions = {
    /**
     * The argument of the tool call to evaluate
     */
    condition: string;
    /**
     * The operator to use
     */
    operator: string;
    /**
     * The value to compare against
     */
    value: string;
};
export type ListAgentsTools = {
    /**
     * The id of the resource
     */
    id: string;
    /**
     * Optional tool key for custom tools
     */
    key?: string | undefined;
    actionType: string;
    displayName?: string | undefined;
    /**
     * Optional tool description
     */
    description?: string | undefined;
    requiresApproval: boolean;
    /**
     * Nested tool ID for MCP tools (identifies specific tool within MCP server)
     */
    toolId?: string | undefined;
    conditions?: Array<ListAgentsConditions> | undefined;
    /**
     * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
     */
    timeout: number;
};
/**
 * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
 */
export declare const ListAgentsExecuteOn: {
    readonly Input: "input";
    readonly Output: "output";
};
/**
 * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
 */
export type ListAgentsExecuteOn = ClosedEnum<typeof ListAgentsExecuteOn>;
export type ListAgentsEvaluators = {
    /**
     * Unique key or identifier of the evaluator
     */
    id: string;
    /**
     * The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
     */
    sampleRate: number;
    /**
     * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
     */
    executeOn: ListAgentsExecuteOn;
};
/**
 * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
 */
export declare const ListAgentsAgentsExecuteOn: {
    readonly Input: "input";
    readonly Output: "output";
};
/**
 * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
 */
export type ListAgentsAgentsExecuteOn = ClosedEnum<typeof ListAgentsAgentsExecuteOn>;
export type ListAgentsGuardrails = {
    /**
     * Unique key or identifier of the evaluator
     */
    id: string;
    /**
     * The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
     */
    sampleRate: number;
    /**
     * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
     */
    executeOn: ListAgentsAgentsExecuteOn;
};
export type ListAgentsSettings = {
    /**
     * Maximum iterations(llm calls) before the agent will stop executing.
     */
    maxIterations: number;
    /**
     * Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
     */
    maxExecutionTime: number;
    /**
     * Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses
     */
    maxCost: number;
    /**
     * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
     */
    toolApprovalRequired: ListAgentsToolApprovalRequired;
    tools?: Array<ListAgentsTools> | undefined;
    /**
     * Configuration for an evaluator applied to the agent
     */
    evaluators?: Array<ListAgentsEvaluators> | undefined;
    /**
     * Configuration for a guardrail applied to the agent
     */
    guardrails?: Array<ListAgentsGuardrails> | undefined;
};
/**
 * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
 */
export declare const ListAgentsVoice: {
    readonly Alloy: "alloy";
    readonly Echo: "echo";
    readonly Fable: "fable";
    readonly Onyx: "onyx";
    readonly Nova: "nova";
    readonly Shimmer: "shimmer";
};
/**
 * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
 */
export type ListAgentsVoice = ClosedEnum<typeof ListAgentsVoice>;
/**
 * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
 */
export declare const ListAgentsFormat: {
    readonly Wav: "wav";
    readonly Mp3: "mp3";
    readonly Flac: "flac";
    readonly Opus: "opus";
    readonly Pcm16: "pcm16";
};
/**
 * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
 */
export type ListAgentsFormat = ClosedEnum<typeof ListAgentsFormat>;
/**
 * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
 */
export type ListAgentsAudio = {
    /**
     * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
     */
    voice: ListAgentsVoice;
    /**
     * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
     */
    format: ListAgentsFormat;
};
export type ListAgentsResponseFormatJsonSchema = {
    /**
     * A description of what the response format is for, used by the model to determine how to respond in the format.
     */
    description?: string | undefined;
    /**
     * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
     */
    name: string;
    /**
     * The schema for the response format, described as a JSON Schema object.
     */
    schema?: any | undefined;
    /**
     * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
     */
    strict: boolean;
};
/**
 * @remarks
 *
 * JSON Schema response format. Used to generate structured JSON responses
 */
export type ListAgentsResponseFormatAgentsJSONSchema = {
    type: "json_schema";
    jsonSchema: ListAgentsResponseFormatJsonSchema;
};
/**
 * @remarks
 *
 * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
 */
export type ListAgentsResponseFormatJSONObject = {
    type: "json_object";
};
/**
 * @remarks
 *
 * Default response format. Used to generate text responses
 */
export type ListAgentsResponseFormatText = {
    type: "text";
};
/**
 * An object specifying the format that the model must output
 */
export type ListAgentsResponseFormat = ListAgentsResponseFormatText | ListAgentsResponseFormatJSONObject | ListAgentsResponseFormatAgentsJSONSchema;
/**
 * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
 *
 * @remarks
 *
 * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
 * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
 * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
 * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
 *
 * Any of "none", "minimal", "low", "medium", "high", "xhigh".
 */
export declare const ListAgentsReasoningEffort: {
    readonly None: "none";
    readonly Minimal: "minimal";
    readonly Low: "low";
    readonly Medium: "medium";
    readonly High: "high";
    readonly Xhigh: "xhigh";
};
/**
 * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
 *
 * @remarks
 *
 * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
 * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
 * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
 * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
 *
 * Any of "none", "minimal", "low", "medium", "high", "xhigh".
 */
export type ListAgentsReasoningEffort = ClosedEnum<typeof ListAgentsReasoningEffort>;
/**
 * Up to 4 sequences where the API will stop generating further tokens.
 */
export type ListAgentsStop = string | Array<string>;
/**
 * Options for streaming response. Only set this when you set stream: true.
 */
export type ListAgentsStreamOptions = {
    /**
     * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
     */
    includeUsage?: boolean | undefined;
};
export type ListAgentsThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
/**
 * The type of the tool. Currently, only function is supported.
 */
export declare const ListAgentsToolChoiceType: {
    readonly Function: "function";
};
/**
 * The type of the tool. Currently, only function is supported.
 */
export type ListAgentsToolChoiceType = ClosedEnum<typeof ListAgentsToolChoiceType>;
export type ListAgentsToolChoiceFunction = {
    /**
     * The name of the function to call.
     */
    name: string;
};
export type ListAgentsToolChoice2 = {
    /**
     * The type of the tool. Currently, only function is supported.
     */
    type?: ListAgentsToolChoiceType | undefined;
    function: ListAgentsToolChoiceFunction;
};
export declare const ListAgentsToolChoice1: {
    readonly None: "none";
    readonly Auto: "auto";
    readonly Required: "required";
};
export type ListAgentsToolChoice1 = ClosedEnum<typeof ListAgentsToolChoice1>;
/**
 * Controls which (if any) tool is called by the model.
 */
export type ListAgentsToolChoice = ListAgentsToolChoice2 | ListAgentsToolChoice1;
export declare const ListAgentsModalities: {
    readonly Text: "text";
    readonly Audio: "audio";
};
export type ListAgentsModalities = ClosedEnum<typeof ListAgentsModalities>;
/**
 * The key of the guardrail.
 */
export declare const ListAgentsId1: {
    readonly OrqPiiDetection: "orq_pii_detection";
    readonly OrqSexualModeration: "orq_sexual_moderation";
    readonly OrqHarmfulModeration: "orq_harmful_moderation";
};
/**
 * The key of the guardrail.
 */
export type ListAgentsId1 = ClosedEnum<typeof ListAgentsId1>;
export type ListAgentsId = ListAgentsId1 | string;
/**
 * Determines whether the guardrail runs on the input (user message) or output (model response).
 */
export declare const ListAgentsAgentsResponseExecuteOn: {
    readonly Input: "input";
    readonly Output: "output";
};
/**
 * Determines whether the guardrail runs on the input (user message) or output (model response).
 */
export type ListAgentsAgentsResponseExecuteOn = ClosedEnum<typeof ListAgentsAgentsResponseExecuteOn>;
export type ListAgentsAgentsGuardrails = {
    id: ListAgentsId1 | string;
    /**
     * Determines whether the guardrail runs on the input (user message) or output (model response).
     */
    executeOn: ListAgentsAgentsResponseExecuteOn;
};
export type ListAgentsFallbacks = {
    /**
     * Fallback model identifier
     */
    model: string;
};
/**
 * Retry configuration for the request
 */
export type ListAgentsAgentsRetry = {
    /**
     * Number of retry attempts (1-5)
     */
    count: number;
    /**
     * HTTP status codes that trigger retry logic
     */
    onCodes?: Array<number> | undefined;
};
export declare const ListAgentsType: {
    readonly ExactMatch: "exact_match";
};
export type ListAgentsType = ClosedEnum<typeof ListAgentsType>;
/**
 * Cache configuration for the request.
 */
export type ListAgentsCache = {
    /**
     * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
     */
    ttl: number;
    type: ListAgentsType;
};
export declare const ListAgentsLoadBalancerType: {
    readonly WeightBased: "weight_based";
};
export type ListAgentsLoadBalancerType = ClosedEnum<typeof ListAgentsLoadBalancerType>;
export type ListAgentsLoadBalancerModels = {
    /**
     * Model identifier for load balancing
     */
    model: string;
    /**
     * Weight assigned to this model for load balancing
     */
    weight: number;
};
export type ListAgentsLoadBalancer1 = {
    type: ListAgentsLoadBalancerType;
    models: Array<ListAgentsLoadBalancerModels>;
};
/**
 * Load balancer configuration for the request.
 */
export type ListAgentsLoadBalancer = ListAgentsLoadBalancer1;
/**
 * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
 */
export type ListAgentsTimeout = {
    /**
     * Timeout value in milliseconds
     */
    callTimeout: number;
};
/**
 * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
 */
export type ListAgentsParameters = {
    /**
     * The name to display on the trace. If not specified, the default system name will be used.
     */
    name?: string | undefined;
    /**
     * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
     */
    audio?: ListAgentsAudio | null | undefined;
    /**
     * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
     */
    frequencyPenalty?: number | null | undefined;
    /**
     * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
     *
     * @remarks
     *
     *  This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
     */
    maxTokens?: number | null | undefined;
    /**
     * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
     */
    maxCompletionTokens?: number | null | undefined;
    /**
     * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
     */
    logprobs?: boolean | null | undefined;
    /**
     * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
     */
    topLogprobs?: number | null | undefined;
    /**
     * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
     */
    n?: number | null | undefined;
    /**
     * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
     */
    presencePenalty?: number | null | undefined;
    /**
     * An object specifying the format that the model must output
     */
    responseFormat?: ListAgentsResponseFormatText | ListAgentsResponseFormatJSONObject | ListAgentsResponseFormatAgentsJSONSchema | undefined;
    /**
     * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
     *
     * @remarks
     *
     * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
     * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
     * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
     * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
     *
     * Any of "none", "minimal", "low", "medium", "high", "xhigh".
     */
    reasoningEffort?: ListAgentsReasoningEffort | undefined;
    /**
     * Adjusts response verbosity. Lower levels yield shorter answers.
     */
    verbosity?: string | undefined;
    /**
     * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
     */
    seed?: number | null | undefined;
    /**
     * Up to 4 sequences where the API will stop generating further tokens.
     */
    stop?: string | Array<string> | null | undefined;
    /**
     * Options for streaming response. Only set this when you set stream: true.
     */
    streamOptions?: ListAgentsStreamOptions | null | undefined;
    thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
    /**
     * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
     */
    temperature?: number | null | undefined;
    /**
     * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
     */
    topP?: number | null | undefined;
    /**
     * Limits the model to consider only the top k most likely tokens at each step.
     */
    topK?: number | null | undefined;
    /**
     * Controls which (if any) tool is called by the model.
     */
    toolChoice?: ListAgentsToolChoice2 | ListAgentsToolChoice1 | undefined;
    /**
     * Whether to enable parallel function calling during tool use.
     */
    parallelToolCalls?: boolean | undefined;
    /**
     * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
     */
    modalities?: Array<ListAgentsModalities> | null | undefined;
    /**
     * A list of guardrails to apply to the request.
     */
    guardrails?: Array<ListAgentsAgentsGuardrails> | undefined;
    /**
     * Array of fallback models to use if primary model fails
     */
    fallbacks?: Array<ListAgentsFallbacks> | undefined;
    /**
     * Retry configuration for the request
     */
    retry?: ListAgentsAgentsRetry | undefined;
    /**
     * Cache configuration for the request.
     */
    cache?: ListAgentsCache | undefined;
    /**
     * Load balancer configuration for the request.
     */
    loadBalancer?: ListAgentsLoadBalancer1 | undefined;
    /**
     * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
     */
    timeout?: ListAgentsTimeout | undefined;
};
/**
 * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
 */
export type ListAgentsRetry = {
    /**
     * Number of retry attempts (1-5)
     */
    count: number;
    /**
     * HTTP status codes that trigger retry logic
     */
    onCodes?: Array<number> | undefined;
};
/**
 * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
 */
export declare const ListAgentsFallbackModelConfigurationVoice: {
    readonly Alloy: "alloy";
    readonly Echo: "echo";
    readonly Fable: "fable";
    readonly Onyx: "onyx";
    readonly Nova: "nova";
    readonly Shimmer: "shimmer";
};
/**
 * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
 */
export type ListAgentsFallbackModelConfigurationVoice = ClosedEnum<typeof ListAgentsFallbackModelConfigurationVoice>;
/**
 * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
 */
export declare const ListAgentsFallbackModelConfigurationFormat: {
    readonly Wav: "wav";
    readonly Mp3: "mp3";
    readonly Flac: "flac";
    readonly Opus: "opus";
    readonly Pcm16: "pcm16";
};
/**
 * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
 */
export type ListAgentsFallbackModelConfigurationFormat = ClosedEnum<typeof ListAgentsFallbackModelConfigurationFormat>;
/**
 * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
 */
export type ListAgentsFallbackModelConfigurationAudio = {
    /**
     * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
     */
    voice: ListAgentsFallbackModelConfigurationVoice;
    /**
     * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
     */
    format: ListAgentsFallbackModelConfigurationFormat;
};
export type ListAgentsResponseFormatAgentsResponseJsonSchema = {
    /**
     * A description of what the response format is for, used by the model to determine how to respond in the format.
     */
    description?: string | undefined;
    /**
     * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
     */
    name: string;
    /**
     * The schema for the response format, described as a JSON Schema object.
     */
    schema?: any | undefined;
    /**
     * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
     */
    strict: boolean;
};
/**
 * @remarks
 *
 * JSON Schema response format. Used to generate structured JSON responses
 */
export type ListAgentsResponseFormatAgentsResponse200JSONSchema = {
    type: "json_schema";
    jsonSchema: ListAgentsResponseFormatAgentsResponseJsonSchema;
};
/**
 * @remarks
 *
 * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
 */
export type ListAgentsResponseFormatAgentsJSONObject = {
    type: "json_object";
};
/**
 * @remarks
 *
 * Default response format. Used to generate text responses
 */
export type ListAgentsResponseFormatAgentsText = {
    type: "text";
};
/**
 * An object specifying the format that the model must output
 */
export type ListAgentsFallbackModelConfigurationResponseFormat = ListAgentsResponseFormatAgentsText | ListAgentsResponseFormatAgentsJSONObject | ListAgentsResponseFormatAgentsResponse200JSONSchema;
/**
 * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
 *
 * @remarks
 *
 * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
 * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
 * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
 * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
 *
 * Any of "none", "minimal", "low", "medium", "high", "xhigh".
 */
export declare const ListAgentsFallbackModelConfigurationReasoningEffort: {
    readonly None: "none";
    readonly Minimal: "minimal";
    readonly Low: "low";
    readonly Medium: "medium";
    readonly High: "high";
    readonly Xhigh: "xhigh";
};
/**
 * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
 *
 * @remarks
 *
 * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
 * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
 * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
 * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
 *
 * Any of "none", "minimal", "low", "medium", "high", "xhigh".
 */
export type ListAgentsFallbackModelConfigurationReasoningEffort = ClosedEnum<typeof ListAgentsFallbackModelConfigurationReasoningEffort>;
/**
 * Up to 4 sequences where the API will stop generating further tokens.
 */
export type ListAgentsFallbackModelConfigurationStop = string | Array<string>;
/**
 * Options for streaming response. Only set this when you set stream: true.
 */
export type ListAgentsFallbackModelConfigurationStreamOptions = {
    /**
     * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
     */
    includeUsage?: boolean | undefined;
};
export type ListAgentsFallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
/**
 * The type of the tool. Currently, only function is supported.
 */
export declare const ListAgentsToolChoiceAgentsType: {
    readonly Function: "function";
};
/**
 * The type of the tool. Currently, only function is supported.
 */
export type ListAgentsToolChoiceAgentsType = ClosedEnum<typeof ListAgentsToolChoiceAgentsType>;
export type ListAgentsToolChoiceAgentsFunction = {
    /**
     * The name of the function to call.
     */
    name: string;
};
export type ListAgentsToolChoiceAgents2 = {
    /**
     * The type of the tool. Currently, only function is supported.
     */
    type?: ListAgentsToolChoiceAgentsType | undefined;
    function: ListAgentsToolChoiceAgentsFunction;
};
export declare const ListAgentsToolChoiceAgents1: {
    readonly None: "none";
    readonly Auto: "auto";
    readonly Required: "required";
};
export type ListAgentsToolChoiceAgents1 = ClosedEnum<typeof ListAgentsToolChoiceAgents1>;
/**
 * Controls which (if any) tool is called by the model.
 */
export type ListAgentsFallbackModelConfigurationToolChoice = ListAgentsToolChoiceAgents2 | ListAgentsToolChoiceAgents1;
export declare const ListAgentsFallbackModelConfigurationModalities: {
    readonly Text: "text";
    readonly Audio: "audio";
};
export type ListAgentsFallbackModelConfigurationModalities = ClosedEnum<typeof ListAgentsFallbackModelConfigurationModalities>;
/**
 * The key of the guardrail.
 */
export declare const ListAgentsIdAgents1: {
    readonly OrqPiiDetection: "orq_pii_detection";
    readonly OrqSexualModeration: "orq_sexual_moderation";
    readonly OrqHarmfulModeration: "orq_harmful_moderation";
};
/**
 * The key of the guardrail.
 */
export type ListAgentsIdAgents1 = ClosedEnum<typeof ListAgentsIdAgents1>;
export type ListAgentsFallbackModelConfigurationId = ListAgentsIdAgents1 | string;
/**
 * Determines whether the guardrail runs on the input (user message) or output (model response).
 */
export declare const ListAgentsFallbackModelConfigurationExecuteOn: {
    readonly Input: "input";
    readonly Output: "output";
};
/**
 * Determines whether the guardrail runs on the input (user message) or output (model response).
 */
export type ListAgentsFallbackModelConfigurationExecuteOn = ClosedEnum<typeof ListAgentsFallbackModelConfigurationExecuteOn>;
export type ListAgentsFallbackModelConfigurationGuardrails = {
    id: ListAgentsIdAgents1 | string;
    /**
     * Determines whether the guardrail runs on the input (user message) or output (model response).
     */
    executeOn: ListAgentsFallbackModelConfigurationExecuteOn;
};
export type ListAgentsFallbackModelConfigurationFallbacks = {
    /**
     * Fallback model identifier
     */
    model: string;
};
/**
 * Retry configuration for the request
 */
export type ListAgentsFallbackModelConfigurationAgentsRetry = {
    /**
     * Number of retry attempts (1-5)
     */
    count: number;
    /**
     * HTTP status codes that trigger retry logic
     */
    onCodes?: Array<number> | undefined;
};
export declare const ListAgentsFallbackModelConfigurationType: {
    readonly ExactMatch: "exact_match";
};
export type ListAgentsFallbackModelConfigurationType = ClosedEnum<typeof ListAgentsFallbackModelConfigurationType>;
/**
 * Cache configuration for the request.
 */
export type ListAgentsFallbackModelConfigurationCache = {
    /**
     * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
     */
    ttl: number;
    type: ListAgentsFallbackModelConfigurationType;
};
export declare const ListAgentsLoadBalancerAgentsType: {
    readonly WeightBased: "weight_based";
};
export type ListAgentsLoadBalancerAgentsType = ClosedEnum<typeof ListAgentsLoadBalancerAgentsType>;
export type ListAgentsLoadBalancerAgentsModels = {
    /**
     * Model identifier for load balancing
     */
    model: string;
    /**
     * Weight assigned to this model for load balancing
     */
    weight: number;
};
export type ListAgentsLoadBalancerAgents1 = {
    type: ListAgentsLoadBalancerAgentsType;
    models: Array<ListAgentsLoadBalancerAgentsModels>;
};
/**
 * Load balancer configuration for the request.
 */
export type ListAgentsFallbackModelConfigurationLoadBalancer = ListAgentsLoadBalancerAgents1;
/**
 * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
 */
export type ListAgentsFallbackModelConfigurationTimeout = {
    /**
     * Timeout value in milliseconds
     */
    callTimeout: number;
};
/**
 * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
 */
export type ListAgentsFallbackModelConfigurationParameters = {
    /**
     * The name to display on the trace. If not specified, the default system name will be used.
     */
    name?: string | undefined;
    /**
     * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
     */
    audio?: ListAgentsFallbackModelConfigurationAudio | null | undefined;
    /**
     * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
     */
    frequencyPenalty?: number | null | undefined;
    /**
     * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
     *
     * @remarks
     *
     *  This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
     */
    maxTokens?: number | null | undefined;
    /**
     * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
     */
    maxCompletionTokens?: number | null | undefined;
    /**
     * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
     */
    logprobs?: boolean | null | undefined;
    /**
     * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
     */
    topLogprobs?: number | null | undefined;
    /**
     * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
     */
    n?: number | null | undefined;
    /**
     * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
     */
    presencePenalty?: number | null | undefined;
    /**
     * An object specifying the format that the model must output
     */
    responseFormat?: ListAgentsResponseFormatAgentsText | ListAgentsResponseFormatAgentsJSONObject | ListAgentsResponseFormatAgentsResponse200JSONSchema | undefined;
    /**
     * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
     *
     * @remarks
     *
     * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
     * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
     * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
     * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
     *
     * Any of "none", "minimal", "low", "medium", "high", "xhigh".
     */
    reasoningEffort?: ListAgentsFallbackModelConfigurationReasoningEffort | undefined;
    /**
     * Adjusts response verbosity. Lower levels yield shorter answers.
     */
    verbosity?: string | undefined;
    /**
     * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
     */
    seed?: number | null | undefined;
    /**
     * Up to 4 sequences where the API will stop generating further tokens.
     */
    stop?: string | Array<string> | null | undefined;
    /**
     * Options for streaming response. Only set this when you set stream: true.
     */
    streamOptions?: ListAgentsFallbackModelConfigurationStreamOptions | null | undefined;
    thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
    /**
     * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
     */
    temperature?: number | null | undefined;
    /**
     * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
     */
    topP?: number | null | undefined;
    /**
     * Limits the model to consider only the top k most likely tokens at each step.
     */
    topK?: number | null | undefined;
    /**
     * Controls which (if any) tool is called by the model.
     */
    toolChoice?: ListAgentsToolChoiceAgents2 | ListAgentsToolChoiceAgents1 | undefined;
    /**
     * Whether to enable parallel function calling during tool use.
     */
    parallelToolCalls?: boolean | undefined;
    /**
     * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
     */
    modalities?: Array<ListAgentsFallbackModelConfigurationModalities> | null | undefined;
    /**
     * A list of guardrails to apply to the request.
     */
    guardrails?: Array<ListAgentsFallbackModelConfigurationGuardrails> | undefined;
    /**
     * Array of fallback models to use if primary model fails
     */
    fallbacks?: Array<ListAgentsFallbackModelConfigurationFallbacks> | undefined;
    /**
     * Retry configuration for the request
     */
    retry?: ListAgentsFallbackModelConfigurationAgentsRetry | undefined;
    /**
     * Cache configuration for the request.
     */
    cache?: ListAgentsFallbackModelConfigurationCache | undefined;
    /**
     * Load balancer configuration for the request.
     */
    loadBalancer?: ListAgentsLoadBalancerAgents1 | undefined;
    /**
     * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
     */
    timeout?: ListAgentsFallbackModelConfigurationTimeout | undefined;
};
/**
 * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
 */
export type ListAgentsFallbackModelConfigurationRetry = {
    /**
     * Number of retry attempts (1-5)
     */
    count: number;
    /**
     * HTTP status codes that trigger retry logic
     */
    onCodes?: Array<number> | undefined;
};
/**
 * Fallback model configuration with optional parameters and retry settings.
 */
export type ListAgentsFallbackModelConfiguration2 = {
    /**
     * A fallback model ID string. Must support tool calling.
     */
    id: string;
    /**
     * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
     */
    parameters?: ListAgentsFallbackModelConfigurationParameters | undefined;
    /**
     * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
     */
    retry?: ListAgentsFallbackModelConfigurationRetry | undefined;
};
/**
 * Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
 */
export type ListAgentsFallbackModelConfiguration = ListAgentsFallbackModelConfiguration2 | string;
export type ListAgentsModel = {
    /**
     * The database ID of the primary model
     */
    id: string;
    /**
     * Optional integration ID for custom model configurations
     */
    integrationId?: string | null | undefined;
    /**
     * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
     */
    parameters?: ListAgentsParameters | undefined;
    /**
     * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
     */
    retry?: ListAgentsRetry | undefined;
    /**
     * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
     */
    fallbackModels?: Array<ListAgentsFallbackModelConfiguration2 | string> | null | undefined;
};
export type ListAgentsTeamOfAgents = {
    /**
     * The unique key of the agent within the workspace
     */
    key: string;
    /**
     * The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
     */
    role?: string | undefined;
};
export type ListAgentsMetrics = {
    totalCost: number;
};
export type ListAgentsKnowledgeBases = {
    /**
     * Unique identifier of the knowledge base to search
     */
    knowledgeId: string;
};
export declare const ListAgentsSource: {
    readonly Internal: "internal";
    readonly External: "external";
    readonly Experiment: "experiment";
};
export type ListAgentsSource = ClosedEnum<typeof ListAgentsSource>;
export type ListAgentsData = {
    id: string;
    /**
     * Unique identifier for the agent within the workspace
     */
    key: string;
    displayName: string;
    createdById?: string | null | undefined;
    updatedById?: string | null | undefined;
    created?: string | undefined;
    updated?: string | undefined;
    role: string;
    description: string;
    systemPrompt?: string | undefined;
    instructions: string;
    /**
     * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
     */
    status: ListAgentsStatus;
    settings?: ListAgentsSettings | undefined;
    model: ListAgentsModel;
    versionHash?: string | undefined;
    /**
     * Entity storage path in the format: `project/folder/subfolder/...`
     *
     * @remarks
     *
     * The first element identifies the project, followed by nested folders (auto-created as needed).
     *
     * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
     */
    path: string;
    /**
     * Array of memory store identifiers. Accepts both memory store IDs and keys.
     */
    memoryStores: Array<string>;
    /**
     * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
     */
    teamOfAgents: Array<ListAgentsTeamOfAgents>;
    metrics?: ListAgentsMetrics | undefined;
    /**
     * Extracted variables from agent instructions
     */
    variables?: {
        [k: string]: any;
    } | undefined;
    /**
     * Agent knowledge bases reference
     */
    knowledgeBases?: Array<ListAgentsKnowledgeBases> | undefined;
    source?: ListAgentsSource | undefined;
};
/**
 * Successfully retrieved the list of agents. Returns a paginated response containing agent manifests with complete configurations, including primary and fallback models, tools, knowledge bases, and execution settings.
 */
export type ListAgentsResponseBody = {
    object: ListAgentsObject;
    data: Array<ListAgentsData>;
    hasMore: boolean;
};
/** @internal */
export type ListAgentsRequest$Outbound = {
    limit?: number | undefined;
    starting_after?: string | undefined;
    ending_before?: string | undefined;
};
/** @internal */
export declare const ListAgentsRequest$outboundSchema: z.ZodType<ListAgentsRequest$Outbound, z.ZodTypeDef, ListAgentsRequest>;
export declare function listAgentsRequestToJSON(listAgentsRequest: ListAgentsRequest): string;
/** @internal */
export declare const ListAgentsObject$inboundSchema: z.ZodNativeEnum<typeof ListAgentsObject>;
/** @internal */
export declare const ListAgentsStatus$inboundSchema: z.ZodNativeEnum<typeof ListAgentsStatus>;
/** @internal */
export declare const ListAgentsToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolApprovalRequired>;
/** @internal */
export declare const ListAgentsConditions$inboundSchema: z.ZodType<ListAgentsConditions, z.ZodTypeDef, unknown>;
export declare function listAgentsConditionsFromJSON(jsonString: string): SafeParseResult<ListAgentsConditions, SDKValidationError>;
/** @internal */
export declare const ListAgentsTools$inboundSchema: z.ZodType<ListAgentsTools, z.ZodTypeDef, unknown>;
export declare function listAgentsToolsFromJSON(jsonString: string): SafeParseResult<ListAgentsTools, SDKValidationError>;
/** @internal */
export declare const ListAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsExecuteOn>;
/** @internal */
export declare const ListAgentsEvaluators$inboundSchema: z.ZodType<ListAgentsEvaluators, z.ZodTypeDef, unknown>;
export declare function listAgentsEvaluatorsFromJSON(jsonString: string): SafeParseResult<ListAgentsEvaluators, SDKValidationError>;
/** @internal */
export declare const ListAgentsAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsAgentsExecuteOn>;
/** @internal */
export declare const ListAgentsGuardrails$inboundSchema: z.ZodType<ListAgentsGuardrails, z.ZodTypeDef, unknown>;
export declare function listAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<ListAgentsGuardrails, SDKValidationError>;
/** @internal */
export declare const ListAgentsSettings$inboundSchema: z.ZodType<ListAgentsSettings, z.ZodTypeDef, unknown>;
export declare function listAgentsSettingsFromJSON(jsonString: string): SafeParseResult<ListAgentsSettings, SDKValidationError>;
/** @internal */
export declare const ListAgentsVoice$inboundSchema: z.ZodNativeEnum<typeof ListAgentsVoice>;
/** @internal */
export declare const ListAgentsFormat$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFormat>;
/** @internal */
export declare const ListAgentsAudio$inboundSchema: z.ZodType<ListAgentsAudio, z.ZodTypeDef, unknown>;
export declare function listAgentsAudioFromJSON(jsonString: string): SafeParseResult<ListAgentsAudio, SDKValidationError>;
/** @internal */
export declare const ListAgentsResponseFormatJsonSchema$inboundSchema: z.ZodType<ListAgentsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
export declare function listAgentsResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatJsonSchema, SDKValidationError>;
/** @internal */
export declare const ListAgentsResponseFormatAgentsJSONSchema$inboundSchema: z.ZodType<ListAgentsResponseFormatAgentsJSONSchema, z.ZodTypeDef, unknown>;
export declare function listAgentsResponseFormatAgentsJSONSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgentsJSONSchema, SDKValidationError>;
/** @internal */
export declare const ListAgentsResponseFormatJSONObject$inboundSchema: z.ZodType<ListAgentsResponseFormatJSONObject, z.ZodTypeDef, unknown>;
export declare function listAgentsResponseFormatJSONObjectFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatJSONObject, SDKValidationError>;
/** @internal */
export declare const ListAgentsResponseFormatText$inboundSchema: z.ZodType<ListAgentsResponseFormatText, z.ZodTypeDef, unknown>;
export declare function listAgentsResponseFormatTextFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatText, SDKValidationError>;
/** @internal */
export declare const ListAgentsResponseFormat$inboundSchema: z.ZodType<ListAgentsResponseFormat, z.ZodTypeDef, unknown>;
export declare function listAgentsResponseFormatFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormat, SDKValidationError>;
/** @internal */
export declare const ListAgentsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ListAgentsReasoningEffort>;
/** @internal */
export declare const ListAgentsStop$inboundSchema: z.ZodType<ListAgentsStop, z.ZodTypeDef, unknown>;
export declare function listAgentsStopFromJSON(jsonString: string): SafeParseResult<ListAgentsStop, SDKValidationError>;
/** @internal */
export declare const ListAgentsStreamOptions$inboundSchema: z.ZodType<ListAgentsStreamOptions, z.ZodTypeDef, unknown>;
export declare function listAgentsStreamOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentsStreamOptions, SDKValidationError>;
/** @internal */
export declare const ListAgentsThinking$inboundSchema: z.ZodType<ListAgentsThinking, z.ZodTypeDef, unknown>;
export declare function listAgentsThinkingFromJSON(jsonString: string): SafeParseResult<ListAgentsThinking, SDKValidationError>;
/** @internal */
export declare const ListAgentsToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceType>;
/** @internal */
export declare const ListAgentsToolChoiceFunction$inboundSchema: z.ZodType<ListAgentsToolChoiceFunction, z.ZodTypeDef, unknown>;
export declare function listAgentsToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoiceFunction, SDKValidationError>;
/** @internal */
export declare const ListAgentsToolChoice2$inboundSchema: z.ZodType<ListAgentsToolChoice2, z.ZodTypeDef, unknown>;
export declare function listAgentsToolChoice2FromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoice2, SDKValidationError>;
/** @internal */
export declare const ListAgentsToolChoice1$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoice1>;
/** @internal */
export declare const ListAgentsToolChoice$inboundSchema: z.ZodType<ListAgentsToolChoice, z.ZodTypeDef, unknown>;
export declare function listAgentsToolChoiceFromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoice, SDKValidationError>;
/** @internal */
export declare const ListAgentsModalities$inboundSchema: z.ZodNativeEnum<typeof ListAgentsModalities>;
/** @internal */
export declare const ListAgentsId1$inboundSchema: z.ZodNativeEnum<typeof ListAgentsId1>;
/** @internal */
export declare const ListAgentsId$inboundSchema: z.ZodType<ListAgentsId, z.ZodTypeDef, unknown>;
export declare function listAgentsIdFromJSON(jsonString: string): SafeParseResult<ListAgentsId, SDKValidationError>;
/** @internal */
export declare const ListAgentsAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsAgentsResponseExecuteOn>;
/** @internal */
export declare const ListAgentsAgentsGuardrails$inboundSchema: z.ZodType<ListAgentsAgentsGuardrails, z.ZodTypeDef, unknown>;
export declare function listAgentsAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<ListAgentsAgentsGuardrails, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbacks$inboundSchema: z.ZodType<ListAgentsFallbacks, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbacksFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbacks, SDKValidationError>;
/** @internal */
export declare const ListAgentsAgentsRetry$inboundSchema: z.ZodType<ListAgentsAgentsRetry, z.ZodTypeDef, unknown>;
export declare function listAgentsAgentsRetryFromJSON(jsonString: string): SafeParseResult<ListAgentsAgentsRetry, SDKValidationError>;
/** @internal */
export declare const ListAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsType>;
/** @internal */
export declare const ListAgentsCache$inboundSchema: z.ZodType<ListAgentsCache, z.ZodTypeDef, unknown>;
export declare function listAgentsCacheFromJSON(jsonString: string): SafeParseResult<ListAgentsCache, SDKValidationError>;
/** @internal */
export declare const ListAgentsLoadBalancerType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsLoadBalancerType>;
/** @internal */
export declare const ListAgentsLoadBalancerModels$inboundSchema: z.ZodType<ListAgentsLoadBalancerModels, z.ZodTypeDef, unknown>;
export declare function listAgentsLoadBalancerModelsFromJSON(jsonString: string): SafeParseResult<ListAgentsLoadBalancerModels, SDKValidationError>;
/** @internal */
export declare const ListAgentsLoadBalancer1$inboundSchema: z.ZodType<ListAgentsLoadBalancer1, z.ZodTypeDef, unknown>;
export declare function listAgentsLoadBalancer1FromJSON(jsonString: string): SafeParseResult<ListAgentsLoadBalancer1, SDKValidationError>;
/** @internal */
export declare const ListAgentsLoadBalancer$inboundSchema: z.ZodType<ListAgentsLoadBalancer, z.ZodTypeDef, unknown>;
export declare function listAgentsLoadBalancerFromJSON(jsonString: string): SafeParseResult<ListAgentsLoadBalancer, SDKValidationError>;
/** @internal */
export declare const ListAgentsTimeout$inboundSchema: z.ZodType<ListAgentsTimeout, z.ZodTypeDef, unknown>;
export declare function listAgentsTimeoutFromJSON(jsonString: string): SafeParseResult<ListAgentsTimeout, SDKValidationError>;
/** @internal */
export declare const ListAgentsParameters$inboundSchema: z.ZodType<ListAgentsParameters, z.ZodTypeDef, unknown>;
export declare function listAgentsParametersFromJSON(jsonString: string): SafeParseResult<ListAgentsParameters, SDKValidationError>;
/** @internal */
export declare const ListAgentsRetry$inboundSchema: z.ZodType<ListAgentsRetry, z.ZodTypeDef, unknown>;
export declare function listAgentsRetryFromJSON(jsonString: string): SafeParseResult<ListAgentsRetry, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationVoice>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationFormat>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationAudio$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationAudio, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationAudio, SDKValidationError>;
/** @internal */
export declare const ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<ListAgentsResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
export declare function listAgentsResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
/** @internal */
export declare const ListAgentsResponseFormatAgentsResponse200JSONSchema$inboundSchema: z.ZodType<ListAgentsResponseFormatAgentsResponse200JSONSchema, z.ZodTypeDef, unknown>;
export declare function listAgentsResponseFormatAgentsResponse200JSONSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgentsResponse200JSONSchema, SDKValidationError>;
/** @internal */
export declare const ListAgentsResponseFormatAgentsJSONObject$inboundSchema: z.ZodType<ListAgentsResponseFormatAgentsJSONObject, z.ZodTypeDef, unknown>;
export declare function listAgentsResponseFormatAgentsJSONObjectFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgentsJSONObject, SDKValidationError>;
/** @internal */
export declare const ListAgentsResponseFormatAgentsText$inboundSchema: z.ZodType<ListAgentsResponseFormatAgentsText, z.ZodTypeDef, unknown>;
export declare function listAgentsResponseFormatAgentsTextFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgentsText, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationResponseFormat$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationResponseFormat, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationResponseFormat, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationReasoningEffort>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationStop$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationStop, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationStreamOptions$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationStreamOptions, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationThinking$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationThinking, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationThinking, SDKValidationError>;
/** @internal */
export declare const ListAgentsToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceAgentsType>;
/** @internal */
export declare const ListAgentsToolChoiceAgentsFunction$inboundSchema: z.ZodType<ListAgentsToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
export declare function listAgentsToolChoiceAgentsFunctionFromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoiceAgentsFunction, SDKValidationError>;
/** @internal */
export declare const ListAgentsToolChoiceAgents2$inboundSchema: z.ZodType<ListAgentsToolChoiceAgents2, z.ZodTypeDef, unknown>;
export declare function listAgentsToolChoiceAgents2FromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoiceAgents2, SDKValidationError>;
/** @internal */
export declare const ListAgentsToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceAgents1>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationToolChoice$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationToolChoice, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationToolChoiceFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationToolChoice, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationModalities$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationModalities>;
/** @internal */
export declare const ListAgentsIdAgents1$inboundSchema: z.ZodNativeEnum<typeof ListAgentsIdAgents1>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationId$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationId, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationIdFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationId, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationExecuteOn>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationGuardrails$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationGuardrails, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationGuardrailsFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationGuardrails, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationFallbacks$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationFallbacks, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationFallbacksFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationFallbacks, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationAgentsRetry$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationAgentsRetry, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationAgentsRetryFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationAgentsRetry, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationType>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationCache$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationCache, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationCacheFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationCache, SDKValidationError>;
/** @internal */
export declare const ListAgentsLoadBalancerAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsLoadBalancerAgentsType>;
/** @internal */
export declare const ListAgentsLoadBalancerAgentsModels$inboundSchema: z.ZodType<ListAgentsLoadBalancerAgentsModels, z.ZodTypeDef, unknown>;
export declare function listAgentsLoadBalancerAgentsModelsFromJSON(jsonString: string): SafeParseResult<ListAgentsLoadBalancerAgentsModels, SDKValidationError>;
/** @internal */
export declare const ListAgentsLoadBalancerAgents1$inboundSchema: z.ZodType<ListAgentsLoadBalancerAgents1, z.ZodTypeDef, unknown>;
export declare function listAgentsLoadBalancerAgents1FromJSON(jsonString: string): SafeParseResult<ListAgentsLoadBalancerAgents1, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationLoadBalancer$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationLoadBalancer, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationLoadBalancerFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationLoadBalancer, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationTimeout$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationTimeout, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationTimeoutFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationTimeout, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationParameters$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationParameters, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationParametersFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationParameters, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfigurationRetry$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationRetry, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationRetryFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationRetry, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfiguration2$inboundSchema: z.ZodType<ListAgentsFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfiguration2, SDKValidationError>;
/** @internal */
export declare const ListAgentsFallbackModelConfiguration$inboundSchema: z.ZodType<ListAgentsFallbackModelConfiguration, z.ZodTypeDef, unknown>;
export declare function listAgentsFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfiguration, SDKValidationError>;
/** @internal */
export declare const ListAgentsModel$inboundSchema: z.ZodType<ListAgentsModel, z.ZodTypeDef, unknown>;
export declare function listAgentsModelFromJSON(jsonString: string): SafeParseResult<ListAgentsModel, SDKValidationError>;
/** @internal */
export declare const ListAgentsTeamOfAgents$inboundSchema: z.ZodType<ListAgentsTeamOfAgents, z.ZodTypeDef, unknown>;
export declare function listAgentsTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<ListAgentsTeamOfAgents, SDKValidationError>;
/** @internal */
export declare const ListAgentsMetrics$inboundSchema: z.ZodType<ListAgentsMetrics, z.ZodTypeDef, unknown>;
export declare function listAgentsMetricsFromJSON(jsonString: string): SafeParseResult<ListAgentsMetrics, SDKValidationError>;
/** @internal */
export declare const ListAgentsKnowledgeBases$inboundSchema: z.ZodType<ListAgentsKnowledgeBases, z.ZodTypeDef, unknown>;
export declare function listAgentsKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<ListAgentsKnowledgeBases, SDKValidationError>;
/** @internal */
export declare const ListAgentsSource$inboundSchema: z.ZodNativeEnum<typeof ListAgentsSource>;
/** @internal */
export declare const ListAgentsData$inboundSchema: z.ZodType<ListAgentsData, z.ZodTypeDef, unknown>;
export declare function listAgentsDataFromJSON(jsonString: string): SafeParseResult<ListAgentsData, SDKValidationError>;
/** @internal */
export declare const ListAgentsResponseBody$inboundSchema: z.ZodType<ListAgentsResponseBody, z.ZodTypeDef, unknown>;
export declare function listAgentsResponseBodyFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseBody, SDKValidationError>;
//# sourceMappingURL=listagents.d.ts.map