import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Comma-separated list of task statuses to filter by. Available values: inactive, approval_required, in_progress, errored
 */
export declare const Status: {
    readonly Inactive: "inactive";
    readonly ApprovalRequired: "approval_required";
    readonly InProgress: "in_progress";
    readonly Errored: "errored";
};
/**
 * Comma-separated list of task statuses to filter by. Available values: inactive, approval_required, in_progress, errored
 */
export type Status = ClosedEnum<typeof Status>;
export type ListAgentTasksRequest = {
    /**
     * The unique key of the agent
     */
    agentKey: string;
    /**
     * A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
     */
    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;
    /**
     * Comma-separated list of task statuses to filter by. Available values: inactive, approval_required, in_progress, errored
     */
    status?: Status | undefined;
};
/**
 * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
 */
export declare const ListAgentTasksVoice: {
    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 ListAgentTasksVoice = ClosedEnum<typeof ListAgentTasksVoice>;
/**
 * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
 */
export declare const ListAgentTasksFormat: {
    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 ListAgentTasksFormat = ClosedEnum<typeof ListAgentTasksFormat>;
/**
 * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
 */
export type ListAgentTasksAudio = {
    /**
     * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
     */
    voice: ListAgentTasksVoice;
    /**
     * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
     */
    format: ListAgentTasksFormat;
};
export declare const ListAgentTasksResponseFormatAgentsResponseType: {
    readonly JsonSchema: "json_schema";
};
export type ListAgentTasksResponseFormatAgentsResponseType = ClosedEnum<typeof ListAgentTasksResponseFormatAgentsResponseType>;
export type ListAgentTasksResponseFormatJsonSchema = {
    /**
     * 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 | undefined;
};
export type ListAgentTasksResponseFormat3 = {
    type: ListAgentTasksResponseFormatAgentsResponseType;
    jsonSchema: ListAgentTasksResponseFormatJsonSchema;
};
export declare const ListAgentTasksResponseFormatAgentsType: {
    readonly JsonObject: "json_object";
};
export type ListAgentTasksResponseFormatAgentsType = ClosedEnum<typeof ListAgentTasksResponseFormatAgentsType>;
export type ListAgentTasksResponseFormat2 = {
    type: ListAgentTasksResponseFormatAgentsType;
};
export declare const ListAgentTasksResponseFormatType: {
    readonly Text: "text";
};
export type ListAgentTasksResponseFormatType = ClosedEnum<typeof ListAgentTasksResponseFormatType>;
export type ListAgentTasksResponseFormat1 = {
    type: ListAgentTasksResponseFormatType;
};
/**
 * An object specifying the format that the model must output
 */
export type ListAgentTasksResponseFormat = ListAgentTasksResponseFormat3 | ListAgentTasksResponseFormat1 | ListAgentTasksResponseFormat2;
/**
 * Up to 4 sequences where the API will stop generating further tokens.
 */
export type ListAgentTasksStop = string | Array<string>;
/**
 * Options for streaming response. Only set this when you set stream: true.
 */
export type ListAgentTasksStreamOptions = {
    /**
     * 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;
};
/**
 * Enables or disables the thinking mode capability
 */
export declare const ListAgentTasksType: {
    readonly Enabled: "enabled";
    readonly Disabled: "disabled";
};
/**
 * Enables or disables the thinking mode capability
 */
export type ListAgentTasksType = ClosedEnum<typeof ListAgentTasksType>;
export type ListAgentTasksThinking = {
    /**
     * Enables or disables the thinking mode capability
     */
    type: ListAgentTasksType;
    /**
     * Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
     */
    budgetTokens: number;
};
/**
 * The type of the tool. Currently, only function is supported.
 */
export declare const ListAgentTasksToolChoiceType: {
    readonly Function: "function";
};
/**
 * The type of the tool. Currently, only function is supported.
 */
export type ListAgentTasksToolChoiceType = ClosedEnum<typeof ListAgentTasksToolChoiceType>;
export type ListAgentTasksToolChoiceFunction = {
    /**
     * The name of the function to call.
     */
    name?: string | undefined;
};
export type ListAgentTasksToolChoice2 = {
    /**
     * The type of the tool. Currently, only function is supported.
     */
    type?: ListAgentTasksToolChoiceType | undefined;
    function: ListAgentTasksToolChoiceFunction;
};
export declare const ListAgentTasksToolChoice1: {
    readonly None: "none";
    readonly Auto: "auto";
    readonly Required: "required";
};
export type ListAgentTasksToolChoice1 = ClosedEnum<typeof ListAgentTasksToolChoice1>;
/**
 * Controls which (if any) tool is called by the model.
 */
export type ListAgentTasksToolChoice = ListAgentTasksToolChoice2 | ListAgentTasksToolChoice1;
export declare const ListAgentTasksModalities: {
    readonly Text: "text";
    readonly Audio: "audio";
};
export type ListAgentTasksModalities = ClosedEnum<typeof ListAgentTasksModalities>;
/**
 * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
 */
export type ListAgentTasksWebSearchOptions = {
    /**
     * Whether to enable web search for this request.
     */
    enabled?: boolean | undefined;
};
/**
 * Model parameters to customize behavior (snake_case). Common: temperature (0-1, controls randomness), max_tokens (response length). Advanced: top_p, frequency_penalty, presence_penalty, response_format (JSON mode), reasoning_effort, seed (determinism). Model-specific support varies.
 */
export type ListAgentTasksParameters = {
    /**
     * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
     */
    audio?: ListAgentTasksAudio | 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?: ListAgentTasksResponseFormat3 | ListAgentTasksResponseFormat1 | ListAgentTasksResponseFormat2 | undefined;
    /**
     * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
     */
    reasoningEffort?: string | 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?: ListAgentTasksStreamOptions | null | undefined;
    thinking?: ListAgentTasksThinking | 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?: ListAgentTasksToolChoice2 | ListAgentTasksToolChoice1 | 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<ListAgentTasksModalities> | null | undefined;
    /**
     * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
     */
    webSearchOptions?: ListAgentTasksWebSearchOptions | undefined;
};
/**
 * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
 */
export declare const ListAgentTasksFallbackModelsVoice: {
    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 ListAgentTasksFallbackModelsVoice = ClosedEnum<typeof ListAgentTasksFallbackModelsVoice>;
/**
 * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
 */
export declare const ListAgentTasksFallbackModelsFormat: {
    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 ListAgentTasksFallbackModelsFormat = ClosedEnum<typeof ListAgentTasksFallbackModelsFormat>;
/**
 * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
 */
export type ListAgentTasksFallbackModelsAudio = {
    /**
     * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
     */
    voice: ListAgentTasksFallbackModelsVoice;
    /**
     * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
     */
    format: ListAgentTasksFallbackModelsFormat;
};
export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType: {
    readonly JsonSchema: "json_schema";
};
export type ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
export type ListAgentTasksResponseFormatAgentsJsonSchema = {
    /**
     * 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 | undefined;
};
export type ListAgentTasksResponseFormatAgents3 = {
    type: ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType;
    jsonSchema: ListAgentTasksResponseFormatAgentsJsonSchema;
};
export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType: {
    readonly JsonObject: "json_object";
};
export type ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType = ClosedEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType>;
export type ListAgentTasksResponseFormatAgents2 = {
    type: ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType;
};
export declare const ListAgentTasksResponseFormatAgentsResponse200Type: {
    readonly Text: "text";
};
export type ListAgentTasksResponseFormatAgentsResponse200Type = ClosedEnum<typeof ListAgentTasksResponseFormatAgentsResponse200Type>;
export type ListAgentTasksResponseFormatAgents1 = {
    type: ListAgentTasksResponseFormatAgentsResponse200Type;
};
/**
 * An object specifying the format that the model must output
 */
export type ListAgentTasksFallbackModelsResponseFormat = ListAgentTasksResponseFormatAgents3 | ListAgentTasksResponseFormatAgents1 | ListAgentTasksResponseFormatAgents2;
/**
 * Up to 4 sequences where the API will stop generating further tokens.
 */
export type ListAgentTasksFallbackModelsStop = string | Array<string>;
/**
 * Options for streaming response. Only set this when you set stream: true.
 */
export type ListAgentTasksFallbackModelsStreamOptions = {
    /**
     * 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;
};
/**
 * Enables or disables the thinking mode capability
 */
export declare const ListAgentTasksFallbackModelsType: {
    readonly Enabled: "enabled";
    readonly Disabled: "disabled";
};
/**
 * Enables or disables the thinking mode capability
 */
export type ListAgentTasksFallbackModelsType = ClosedEnum<typeof ListAgentTasksFallbackModelsType>;
export type ListAgentTasksFallbackModelsThinking = {
    /**
     * Enables or disables the thinking mode capability
     */
    type: ListAgentTasksFallbackModelsType;
    /**
     * Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
     */
    budgetTokens: number;
};
/**
 * The type of the tool. Currently, only function is supported.
 */
export declare const ListAgentTasksToolChoiceAgentsType: {
    readonly Function: "function";
};
/**
 * The type of the tool. Currently, only function is supported.
 */
export type ListAgentTasksToolChoiceAgentsType = ClosedEnum<typeof ListAgentTasksToolChoiceAgentsType>;
export type ListAgentTasksToolChoiceAgentsFunction = {
    /**
     * The name of the function to call.
     */
    name?: string | undefined;
};
export type ListAgentTasksToolChoiceAgents2 = {
    /**
     * The type of the tool. Currently, only function is supported.
     */
    type?: ListAgentTasksToolChoiceAgentsType | undefined;
    function: ListAgentTasksToolChoiceAgentsFunction;
};
export declare const ListAgentTasksToolChoiceAgents1: {
    readonly None: "none";
    readonly Auto: "auto";
    readonly Required: "required";
};
export type ListAgentTasksToolChoiceAgents1 = ClosedEnum<typeof ListAgentTasksToolChoiceAgents1>;
/**
 * Controls which (if any) tool is called by the model.
 */
export type ListAgentTasksFallbackModelsToolChoice = ListAgentTasksToolChoiceAgents2 | ListAgentTasksToolChoiceAgents1;
export declare const ListAgentTasksFallbackModelsModalities: {
    readonly Text: "text";
    readonly Audio: "audio";
};
export type ListAgentTasksFallbackModelsModalities = ClosedEnum<typeof ListAgentTasksFallbackModelsModalities>;
/**
 * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
 */
export type ListAgentTasksFallbackModelsWebSearchOptions = {
    /**
     * Whether to enable web search for this request.
     */
    enabled?: boolean | undefined;
};
export type ListAgentTasksFallbackModelsParameters = {
    /**
     * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
     */
    audio?: ListAgentTasksFallbackModelsAudio | 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?: ListAgentTasksResponseFormatAgents3 | ListAgentTasksResponseFormatAgents1 | ListAgentTasksResponseFormatAgents2 | undefined;
    /**
     * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
     */
    reasoningEffort?: string | 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?: ListAgentTasksFallbackModelsStreamOptions | null | undefined;
    thinking?: ListAgentTasksFallbackModelsThinking | 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?: ListAgentTasksToolChoiceAgents2 | ListAgentTasksToolChoiceAgents1 | 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<ListAgentTasksFallbackModelsModalities> | null | undefined;
    /**
     * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
     */
    webSearchOptions?: ListAgentTasksFallbackModelsWebSearchOptions | undefined;
};
export type ListAgentTasksFallbackModels2 = {
    /**
     * Fallback model ID
     */
    id: string;
    integrationId?: string | null | undefined;
    parameters?: ListAgentTasksFallbackModelsParameters | undefined;
};
export type ListAgentTasksFallbackModels = ListAgentTasksFallbackModels2 | string;
export type ListAgentTasksModel = {
    /**
     * The database ID of the primary model
     */
    id: string;
    /**
     * Optional integration ID for custom model configurations
     */
    integrationId?: string | null | undefined;
    /**
     * Model parameters to customize behavior (snake_case). Common: temperature (0-1, controls randomness), max_tokens (response length). Advanced: top_p, frequency_penalty, presence_penalty, response_format (JSON mode), reasoning_effort, seed (determinism). Model-specific support varies.
     */
    parameters?: ListAgentTasksParameters | 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<ListAgentTasksFallbackModels2 | string> | null | undefined;
};
/**
 * 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 ListAgentTasksToolApprovalRequired: {
    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 ListAgentTasksToolApprovalRequired = ClosedEnum<typeof ListAgentTasksToolApprovalRequired>;
export type ListAgentTasksConditions = {
    /**
     * 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 ListAgentTasksTools = {
    /**
     * The id of the resource
     */
    id: string;
    /**
     * Optional tool key for custom tools
     */
    key?: string | undefined;
    actionType: string;
    displayName?: string | undefined;
    requiresApproval?: boolean | undefined;
    conditions?: Array<ListAgentTasksConditions> | undefined;
    /**
     * Optional MCP server reference for tools from MCP servers
     */
    mcpServer?: string | undefined;
    /**
     * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
     */
    timeout?: number | undefined;
};
export type ListAgentTasksSettings = {
    /**
     * Maximum iterations(llm calls) before the agent will stop executing.
     */
    maxIterations?: number | undefined;
    /**
     * 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 | undefined;
    /**
     * 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?: ListAgentTasksToolApprovalRequired | undefined;
    tools?: Array<ListAgentTasksTools> | undefined;
};
export type AgentManifestSnapshot = {
    id: string;
    key: string;
    role: string;
    description: string;
    instructions: string;
    systemPrompt?: string | undefined;
    model: ListAgentTasksModel;
    settings?: ListAgentTasksSettings | undefined;
    projectId?: string | undefined;
};
/**
 * Memory configuration for this execution
 */
export type ListAgentTasksMemory = {
    /**
     * Entity identifier used for memory store isolation (user/session/conversation)
     */
    entityId: string;
};
export type ListAgentTasksState = {
    waitingForApproval?: boolean | undefined;
    inactive?: boolean | undefined;
    error?: string | undefined;
    iteration?: number | undefined;
    accumulatedExecutionTime?: number | undefined;
    variables?: {
        [k: string]: any;
    } | undefined;
};
export type ListAgentTasksMetrics = {
    inputCost?: number | undefined;
    outputCost?: number | undefined;
    totalCost?: number | undefined;
    promptTokens?: number | undefined;
    completionTokens?: number | undefined;
    totalTokens?: number | undefined;
};
export type Tasks = {
    id: string;
    agentManifestSnapshot: AgentManifestSnapshot;
    createdById?: string | undefined;
    updatedById?: string | undefined;
    created?: string | undefined;
    updated?: string | undefined;
    name?: string | undefined;
    workspaceId: string;
    /**
     * Memory configuration for this execution
     */
    memory?: ListAgentTasksMemory | undefined;
    /**
     * Execution-level metadata as key-value pairs
     */
    metadata?: {
        [k: string]: any;
    } | undefined;
    state: ListAgentTasksState;
    metrics: ListAgentTasksMetrics;
};
/**
 * Agent tasks retrieved
 */
export type ListAgentTasksResponseBody = {
    tasks: Array<Tasks>;
    overallTotal: number;
};
/** @internal */
export declare const Status$inboundSchema: z.ZodNativeEnum<typeof Status>;
/** @internal */
export declare const Status$outboundSchema: z.ZodNativeEnum<typeof Status>;
/** @internal */
export declare const ListAgentTasksRequest$inboundSchema: z.ZodType<ListAgentTasksRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksRequest$Outbound = {
    agent_key: string;
    limit: number;
    starting_after?: string | undefined;
    ending_before?: string | undefined;
    status?: string | undefined;
};
/** @internal */
export declare const ListAgentTasksRequest$outboundSchema: z.ZodType<ListAgentTasksRequest$Outbound, z.ZodTypeDef, ListAgentTasksRequest>;
export declare function listAgentTasksRequestToJSON(listAgentTasksRequest: ListAgentTasksRequest): string;
export declare function listAgentTasksRequestFromJSON(jsonString: string): SafeParseResult<ListAgentTasksRequest, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksVoice$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksVoice>;
/** @internal */
export declare const ListAgentTasksVoice$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksVoice>;
/** @internal */
export declare const ListAgentTasksFormat$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFormat>;
/** @internal */
export declare const ListAgentTasksFormat$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFormat>;
/** @internal */
export declare const ListAgentTasksAudio$inboundSchema: z.ZodType<ListAgentTasksAudio, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksAudio$Outbound = {
    voice: string;
    format: string;
};
/** @internal */
export declare const ListAgentTasksAudio$outboundSchema: z.ZodType<ListAgentTasksAudio$Outbound, z.ZodTypeDef, ListAgentTasksAudio>;
export declare function listAgentTasksAudioToJSON(listAgentTasksAudio: ListAgentTasksAudio): string;
export declare function listAgentTasksAudioFromJSON(jsonString: string): SafeParseResult<ListAgentTasksAudio, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponseType>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsResponseType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponseType>;
/** @internal */
export declare const ListAgentTasksResponseFormatJsonSchema$inboundSchema: z.ZodType<ListAgentTasksResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksResponseFormatJsonSchema$Outbound = {
    description?: string | undefined;
    name: string;
    schema?: any | undefined;
    strict?: boolean | undefined;
};
/** @internal */
export declare const ListAgentTasksResponseFormatJsonSchema$outboundSchema: z.ZodType<ListAgentTasksResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatJsonSchema>;
export declare function listAgentTasksResponseFormatJsonSchemaToJSON(listAgentTasksResponseFormatJsonSchema: ListAgentTasksResponseFormatJsonSchema): string;
export declare function listAgentTasksResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormatJsonSchema, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksResponseFormat3$inboundSchema: z.ZodType<ListAgentTasksResponseFormat3, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksResponseFormat3$Outbound = {
    type: string;
    json_schema: ListAgentTasksResponseFormatJsonSchema$Outbound;
};
/** @internal */
export declare const ListAgentTasksResponseFormat3$outboundSchema: z.ZodType<ListAgentTasksResponseFormat3$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat3>;
export declare function listAgentTasksResponseFormat3ToJSON(listAgentTasksResponseFormat3: ListAgentTasksResponseFormat3): string;
export declare function listAgentTasksResponseFormat3FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormat3, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsType>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsType>;
/** @internal */
export declare const ListAgentTasksResponseFormat2$inboundSchema: z.ZodType<ListAgentTasksResponseFormat2, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksResponseFormat2$Outbound = {
    type: string;
};
/** @internal */
export declare const ListAgentTasksResponseFormat2$outboundSchema: z.ZodType<ListAgentTasksResponseFormat2$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat2>;
export declare function listAgentTasksResponseFormat2ToJSON(listAgentTasksResponseFormat2: ListAgentTasksResponseFormat2): string;
export declare function listAgentTasksResponseFormat2FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormat2, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatType>;
/** @internal */
export declare const ListAgentTasksResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatType>;
/** @internal */
export declare const ListAgentTasksResponseFormat1$inboundSchema: z.ZodType<ListAgentTasksResponseFormat1, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksResponseFormat1$Outbound = {
    type: string;
};
/** @internal */
export declare const ListAgentTasksResponseFormat1$outboundSchema: z.ZodType<ListAgentTasksResponseFormat1$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat1>;
export declare function listAgentTasksResponseFormat1ToJSON(listAgentTasksResponseFormat1: ListAgentTasksResponseFormat1): string;
export declare function listAgentTasksResponseFormat1FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormat1, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksResponseFormat$inboundSchema: z.ZodType<ListAgentTasksResponseFormat, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksResponseFormat$Outbound = ListAgentTasksResponseFormat3$Outbound | ListAgentTasksResponseFormat1$Outbound | ListAgentTasksResponseFormat2$Outbound;
/** @internal */
export declare const ListAgentTasksResponseFormat$outboundSchema: z.ZodType<ListAgentTasksResponseFormat$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat>;
export declare function listAgentTasksResponseFormatToJSON(listAgentTasksResponseFormat: ListAgentTasksResponseFormat): string;
export declare function listAgentTasksResponseFormatFromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormat, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksStop$inboundSchema: z.ZodType<ListAgentTasksStop, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksStop$Outbound = string | Array<string>;
/** @internal */
export declare const ListAgentTasksStop$outboundSchema: z.ZodType<ListAgentTasksStop$Outbound, z.ZodTypeDef, ListAgentTasksStop>;
export declare function listAgentTasksStopToJSON(listAgentTasksStop: ListAgentTasksStop): string;
export declare function listAgentTasksStopFromJSON(jsonString: string): SafeParseResult<ListAgentTasksStop, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksStreamOptions$inboundSchema: z.ZodType<ListAgentTasksStreamOptions, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksStreamOptions$Outbound = {
    include_usage?: boolean | undefined;
};
/** @internal */
export declare const ListAgentTasksStreamOptions$outboundSchema: z.ZodType<ListAgentTasksStreamOptions$Outbound, z.ZodTypeDef, ListAgentTasksStreamOptions>;
export declare function listAgentTasksStreamOptionsToJSON(listAgentTasksStreamOptions: ListAgentTasksStreamOptions): string;
export declare function listAgentTasksStreamOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksStreamOptions, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksType>;
/** @internal */
export declare const ListAgentTasksType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksType>;
/** @internal */
export declare const ListAgentTasksThinking$inboundSchema: z.ZodType<ListAgentTasksThinking, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksThinking$Outbound = {
    type: string;
    budget_tokens: number;
};
/** @internal */
export declare const ListAgentTasksThinking$outboundSchema: z.ZodType<ListAgentTasksThinking$Outbound, z.ZodTypeDef, ListAgentTasksThinking>;
export declare function listAgentTasksThinkingToJSON(listAgentTasksThinking: ListAgentTasksThinking): string;
export declare function listAgentTasksThinkingFromJSON(jsonString: string): SafeParseResult<ListAgentTasksThinking, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceType>;
/** @internal */
export declare const ListAgentTasksToolChoiceType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceType>;
/** @internal */
export declare const ListAgentTasksToolChoiceFunction$inboundSchema: z.ZodType<ListAgentTasksToolChoiceFunction, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksToolChoiceFunction$Outbound = {
    name?: string | undefined;
};
/** @internal */
export declare const ListAgentTasksToolChoiceFunction$outboundSchema: z.ZodType<ListAgentTasksToolChoiceFunction$Outbound, z.ZodTypeDef, ListAgentTasksToolChoiceFunction>;
export declare function listAgentTasksToolChoiceFunctionToJSON(listAgentTasksToolChoiceFunction: ListAgentTasksToolChoiceFunction): string;
export declare function listAgentTasksToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<ListAgentTasksToolChoiceFunction, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksToolChoice2$inboundSchema: z.ZodType<ListAgentTasksToolChoice2, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksToolChoice2$Outbound = {
    type?: string | undefined;
    function: ListAgentTasksToolChoiceFunction$Outbound;
};
/** @internal */
export declare const ListAgentTasksToolChoice2$outboundSchema: z.ZodType<ListAgentTasksToolChoice2$Outbound, z.ZodTypeDef, ListAgentTasksToolChoice2>;
export declare function listAgentTasksToolChoice2ToJSON(listAgentTasksToolChoice2: ListAgentTasksToolChoice2): string;
export declare function listAgentTasksToolChoice2FromJSON(jsonString: string): SafeParseResult<ListAgentTasksToolChoice2, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksToolChoice1$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoice1>;
/** @internal */
export declare const ListAgentTasksToolChoice1$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoice1>;
/** @internal */
export declare const ListAgentTasksToolChoice$inboundSchema: z.ZodType<ListAgentTasksToolChoice, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksToolChoice$Outbound = ListAgentTasksToolChoice2$Outbound | string;
/** @internal */
export declare const ListAgentTasksToolChoice$outboundSchema: z.ZodType<ListAgentTasksToolChoice$Outbound, z.ZodTypeDef, ListAgentTasksToolChoice>;
export declare function listAgentTasksToolChoiceToJSON(listAgentTasksToolChoice: ListAgentTasksToolChoice): string;
export declare function listAgentTasksToolChoiceFromJSON(jsonString: string): SafeParseResult<ListAgentTasksToolChoice, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksModalities$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksModalities>;
/** @internal */
export declare const ListAgentTasksModalities$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksModalities>;
/** @internal */
export declare const ListAgentTasksWebSearchOptions$inboundSchema: z.ZodType<ListAgentTasksWebSearchOptions, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksWebSearchOptions$Outbound = {
    enabled?: boolean | undefined;
};
/** @internal */
export declare const ListAgentTasksWebSearchOptions$outboundSchema: z.ZodType<ListAgentTasksWebSearchOptions$Outbound, z.ZodTypeDef, ListAgentTasksWebSearchOptions>;
export declare function listAgentTasksWebSearchOptionsToJSON(listAgentTasksWebSearchOptions: ListAgentTasksWebSearchOptions): string;
export declare function listAgentTasksWebSearchOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksWebSearchOptions, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksParameters$inboundSchema: z.ZodType<ListAgentTasksParameters, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksParameters$Outbound = {
    audio?: ListAgentTasksAudio$Outbound | null | undefined;
    frequency_penalty?: number | null | undefined;
    max_tokens?: number | null | undefined;
    max_completion_tokens?: number | null | undefined;
    logprobs?: boolean | null | undefined;
    top_logprobs?: number | null | undefined;
    n?: number | null | undefined;
    presence_penalty?: number | null | undefined;
    response_format?: ListAgentTasksResponseFormat3$Outbound | ListAgentTasksResponseFormat1$Outbound | ListAgentTasksResponseFormat2$Outbound | undefined;
    reasoning_effort?: string | undefined;
    verbosity?: string | undefined;
    seed?: number | null | undefined;
    stop?: string | Array<string> | null | undefined;
    stream_options?: ListAgentTasksStreamOptions$Outbound | null | undefined;
    thinking?: ListAgentTasksThinking$Outbound | undefined;
    temperature?: number | null | undefined;
    top_p?: number | null | undefined;
    top_k?: number | null | undefined;
    tool_choice?: ListAgentTasksToolChoice2$Outbound | string | undefined;
    parallel_tool_calls?: boolean | undefined;
    modalities?: Array<string> | null | undefined;
    web_search_options?: ListAgentTasksWebSearchOptions$Outbound | undefined;
};
/** @internal */
export declare const ListAgentTasksParameters$outboundSchema: z.ZodType<ListAgentTasksParameters$Outbound, z.ZodTypeDef, ListAgentTasksParameters>;
export declare function listAgentTasksParametersToJSON(listAgentTasksParameters: ListAgentTasksParameters): string;
export declare function listAgentTasksParametersFromJSON(jsonString: string): SafeParseResult<ListAgentTasksParameters, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksFallbackModelsVoice$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsVoice>;
/** @internal */
export declare const ListAgentTasksFallbackModelsVoice$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsVoice>;
/** @internal */
export declare const ListAgentTasksFallbackModelsFormat$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsFormat>;
/** @internal */
export declare const ListAgentTasksFallbackModelsFormat$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsFormat>;
/** @internal */
export declare const ListAgentTasksFallbackModelsAudio$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsAudio, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksFallbackModelsAudio$Outbound = {
    voice: string;
    format: string;
};
/** @internal */
export declare const ListAgentTasksFallbackModelsAudio$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsAudio$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsAudio>;
export declare function listAgentTasksFallbackModelsAudioToJSON(listAgentTasksFallbackModelsAudio: ListAgentTasksFallbackModelsAudio): string;
export declare function listAgentTasksFallbackModelsAudioFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsAudio, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsJsonSchema$inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgentsJsonSchema, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksResponseFormatAgentsJsonSchema$Outbound = {
    description?: string | undefined;
    name: string;
    schema?: any | undefined;
    strict?: boolean | undefined;
};
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsJsonSchema$outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgentsJsonSchema$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgentsJsonSchema>;
export declare function listAgentTasksResponseFormatAgentsJsonSchemaToJSON(listAgentTasksResponseFormatAgentsJsonSchema: ListAgentTasksResponseFormatAgentsJsonSchema): string;
export declare function listAgentTasksResponseFormatAgentsJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormatAgentsJsonSchema, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgents3$inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents3, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksResponseFormatAgents3$Outbound = {
    type: string;
    json_schema: ListAgentTasksResponseFormatAgentsJsonSchema$Outbound;
};
/** @internal */
export declare const ListAgentTasksResponseFormatAgents3$outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents3$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgents3>;
export declare function listAgentTasksResponseFormatAgents3ToJSON(listAgentTasksResponseFormatAgents3: ListAgentTasksResponseFormatAgents3): string;
export declare function listAgentTasksResponseFormatAgents3FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormatAgents3, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgents2$inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents2, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksResponseFormatAgents2$Outbound = {
    type: string;
};
/** @internal */
export declare const ListAgentTasksResponseFormatAgents2$outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents2$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgents2>;
export declare function listAgentTasksResponseFormatAgents2ToJSON(listAgentTasksResponseFormatAgents2: ListAgentTasksResponseFormatAgents2): string;
export declare function listAgentTasksResponseFormatAgents2FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormatAgents2, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200Type>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgentsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200Type>;
/** @internal */
export declare const ListAgentTasksResponseFormatAgents1$inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents1, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksResponseFormatAgents1$Outbound = {
    type: string;
};
/** @internal */
export declare const ListAgentTasksResponseFormatAgents1$outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents1$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgents1>;
export declare function listAgentTasksResponseFormatAgents1ToJSON(listAgentTasksResponseFormatAgents1: ListAgentTasksResponseFormatAgents1): string;
export declare function listAgentTasksResponseFormatAgents1FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormatAgents1, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksFallbackModelsResponseFormat$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsResponseFormat, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksFallbackModelsResponseFormat$Outbound = ListAgentTasksResponseFormatAgents3$Outbound | ListAgentTasksResponseFormatAgents1$Outbound | ListAgentTasksResponseFormatAgents2$Outbound;
/** @internal */
export declare const ListAgentTasksFallbackModelsResponseFormat$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsResponseFormat$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsResponseFormat>;
export declare function listAgentTasksFallbackModelsResponseFormatToJSON(listAgentTasksFallbackModelsResponseFormat: ListAgentTasksFallbackModelsResponseFormat): string;
export declare function listAgentTasksFallbackModelsResponseFormatFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsResponseFormat, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksFallbackModelsStop$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsStop, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksFallbackModelsStop$Outbound = string | Array<string>;
/** @internal */
export declare const ListAgentTasksFallbackModelsStop$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsStop$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsStop>;
export declare function listAgentTasksFallbackModelsStopToJSON(listAgentTasksFallbackModelsStop: ListAgentTasksFallbackModelsStop): string;
export declare function listAgentTasksFallbackModelsStopFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsStop, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksFallbackModelsStreamOptions$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsStreamOptions, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksFallbackModelsStreamOptions$Outbound = {
    include_usage?: boolean | undefined;
};
/** @internal */
export declare const ListAgentTasksFallbackModelsStreamOptions$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsStreamOptions$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsStreamOptions>;
export declare function listAgentTasksFallbackModelsStreamOptionsToJSON(listAgentTasksFallbackModelsStreamOptions: ListAgentTasksFallbackModelsStreamOptions): string;
export declare function listAgentTasksFallbackModelsStreamOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsStreamOptions, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksFallbackModelsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsType>;
/** @internal */
export declare const ListAgentTasksFallbackModelsType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsType>;
/** @internal */
export declare const ListAgentTasksFallbackModelsThinking$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsThinking, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksFallbackModelsThinking$Outbound = {
    type: string;
    budget_tokens: number;
};
/** @internal */
export declare const ListAgentTasksFallbackModelsThinking$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsThinking$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsThinking>;
export declare function listAgentTasksFallbackModelsThinkingToJSON(listAgentTasksFallbackModelsThinking: ListAgentTasksFallbackModelsThinking): string;
export declare function listAgentTasksFallbackModelsThinkingFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsThinking, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceAgentsType>;
/** @internal */
export declare const ListAgentTasksToolChoiceAgentsType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceAgentsType>;
/** @internal */
export declare const ListAgentTasksToolChoiceAgentsFunction$inboundSchema: z.ZodType<ListAgentTasksToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksToolChoiceAgentsFunction$Outbound = {
    name?: string | undefined;
};
/** @internal */
export declare const ListAgentTasksToolChoiceAgentsFunction$outboundSchema: z.ZodType<ListAgentTasksToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, ListAgentTasksToolChoiceAgentsFunction>;
export declare function listAgentTasksToolChoiceAgentsFunctionToJSON(listAgentTasksToolChoiceAgentsFunction: ListAgentTasksToolChoiceAgentsFunction): string;
export declare function listAgentTasksToolChoiceAgentsFunctionFromJSON(jsonString: string): SafeParseResult<ListAgentTasksToolChoiceAgentsFunction, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksToolChoiceAgents2$inboundSchema: z.ZodType<ListAgentTasksToolChoiceAgents2, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksToolChoiceAgents2$Outbound = {
    type?: string | undefined;
    function: ListAgentTasksToolChoiceAgentsFunction$Outbound;
};
/** @internal */
export declare const ListAgentTasksToolChoiceAgents2$outboundSchema: z.ZodType<ListAgentTasksToolChoiceAgents2$Outbound, z.ZodTypeDef, ListAgentTasksToolChoiceAgents2>;
export declare function listAgentTasksToolChoiceAgents2ToJSON(listAgentTasksToolChoiceAgents2: ListAgentTasksToolChoiceAgents2): string;
export declare function listAgentTasksToolChoiceAgents2FromJSON(jsonString: string): SafeParseResult<ListAgentTasksToolChoiceAgents2, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceAgents1>;
/** @internal */
export declare const ListAgentTasksToolChoiceAgents1$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceAgents1>;
/** @internal */
export declare const ListAgentTasksFallbackModelsToolChoice$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsToolChoice, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksFallbackModelsToolChoice$Outbound = ListAgentTasksToolChoiceAgents2$Outbound | string;
/** @internal */
export declare const ListAgentTasksFallbackModelsToolChoice$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsToolChoice$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsToolChoice>;
export declare function listAgentTasksFallbackModelsToolChoiceToJSON(listAgentTasksFallbackModelsToolChoice: ListAgentTasksFallbackModelsToolChoice): string;
export declare function listAgentTasksFallbackModelsToolChoiceFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsToolChoice, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksFallbackModelsModalities$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsModalities>;
/** @internal */
export declare const ListAgentTasksFallbackModelsModalities$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsModalities>;
/** @internal */
export declare const ListAgentTasksFallbackModelsWebSearchOptions$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsWebSearchOptions, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksFallbackModelsWebSearchOptions$Outbound = {
    enabled?: boolean | undefined;
};
/** @internal */
export declare const ListAgentTasksFallbackModelsWebSearchOptions$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsWebSearchOptions$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsWebSearchOptions>;
export declare function listAgentTasksFallbackModelsWebSearchOptionsToJSON(listAgentTasksFallbackModelsWebSearchOptions: ListAgentTasksFallbackModelsWebSearchOptions): string;
export declare function listAgentTasksFallbackModelsWebSearchOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsWebSearchOptions, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksFallbackModelsParameters$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsParameters, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksFallbackModelsParameters$Outbound = {
    audio?: ListAgentTasksFallbackModelsAudio$Outbound | null | undefined;
    frequency_penalty?: number | null | undefined;
    max_tokens?: number | null | undefined;
    max_completion_tokens?: number | null | undefined;
    logprobs?: boolean | null | undefined;
    top_logprobs?: number | null | undefined;
    n?: number | null | undefined;
    presence_penalty?: number | null | undefined;
    response_format?: ListAgentTasksResponseFormatAgents3$Outbound | ListAgentTasksResponseFormatAgents1$Outbound | ListAgentTasksResponseFormatAgents2$Outbound | undefined;
    reasoning_effort?: string | undefined;
    verbosity?: string | undefined;
    seed?: number | null | undefined;
    stop?: string | Array<string> | null | undefined;
    stream_options?: ListAgentTasksFallbackModelsStreamOptions$Outbound | null | undefined;
    thinking?: ListAgentTasksFallbackModelsThinking$Outbound | undefined;
    temperature?: number | null | undefined;
    top_p?: number | null | undefined;
    top_k?: number | null | undefined;
    tool_choice?: ListAgentTasksToolChoiceAgents2$Outbound | string | undefined;
    parallel_tool_calls?: boolean | undefined;
    modalities?: Array<string> | null | undefined;
    web_search_options?: ListAgentTasksFallbackModelsWebSearchOptions$Outbound | undefined;
};
/** @internal */
export declare const ListAgentTasksFallbackModelsParameters$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsParameters$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsParameters>;
export declare function listAgentTasksFallbackModelsParametersToJSON(listAgentTasksFallbackModelsParameters: ListAgentTasksFallbackModelsParameters): string;
export declare function listAgentTasksFallbackModelsParametersFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsParameters, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksFallbackModels2$inboundSchema: z.ZodType<ListAgentTasksFallbackModels2, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksFallbackModels2$Outbound = {
    id: string;
    integration_id?: string | null | undefined;
    parameters?: ListAgentTasksFallbackModelsParameters$Outbound | undefined;
};
/** @internal */
export declare const ListAgentTasksFallbackModels2$outboundSchema: z.ZodType<ListAgentTasksFallbackModels2$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModels2>;
export declare function listAgentTasksFallbackModels2ToJSON(listAgentTasksFallbackModels2: ListAgentTasksFallbackModels2): string;
export declare function listAgentTasksFallbackModels2FromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModels2, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksFallbackModels$inboundSchema: z.ZodType<ListAgentTasksFallbackModels, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksFallbackModels$Outbound = ListAgentTasksFallbackModels2$Outbound | string;
/** @internal */
export declare const ListAgentTasksFallbackModels$outboundSchema: z.ZodType<ListAgentTasksFallbackModels$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModels>;
export declare function listAgentTasksFallbackModelsToJSON(listAgentTasksFallbackModels: ListAgentTasksFallbackModels): string;
export declare function listAgentTasksFallbackModelsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModels, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksModel$inboundSchema: z.ZodType<ListAgentTasksModel, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksModel$Outbound = {
    id: string;
    integration_id?: string | null | undefined;
    parameters?: ListAgentTasksParameters$Outbound | undefined;
    fallback_models?: Array<ListAgentTasksFallbackModels2$Outbound | string> | null | undefined;
};
/** @internal */
export declare const ListAgentTasksModel$outboundSchema: z.ZodType<ListAgentTasksModel$Outbound, z.ZodTypeDef, ListAgentTasksModel>;
export declare function listAgentTasksModelToJSON(listAgentTasksModel: ListAgentTasksModel): string;
export declare function listAgentTasksModelFromJSON(jsonString: string): SafeParseResult<ListAgentTasksModel, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolApprovalRequired>;
/** @internal */
export declare const ListAgentTasksToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolApprovalRequired>;
/** @internal */
export declare const ListAgentTasksConditions$inboundSchema: z.ZodType<ListAgentTasksConditions, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksConditions$Outbound = {
    condition: string;
    operator: string;
    value: string;
};
/** @internal */
export declare const ListAgentTasksConditions$outboundSchema: z.ZodType<ListAgentTasksConditions$Outbound, z.ZodTypeDef, ListAgentTasksConditions>;
export declare function listAgentTasksConditionsToJSON(listAgentTasksConditions: ListAgentTasksConditions): string;
export declare function listAgentTasksConditionsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksConditions, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksTools$inboundSchema: z.ZodType<ListAgentTasksTools, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksTools$Outbound = {
    id: string;
    key?: string | undefined;
    action_type: string;
    display_name?: string | undefined;
    requires_approval: boolean;
    conditions?: Array<ListAgentTasksConditions$Outbound> | undefined;
    mcpServer?: string | undefined;
    timeout: number;
};
/** @internal */
export declare const ListAgentTasksTools$outboundSchema: z.ZodType<ListAgentTasksTools$Outbound, z.ZodTypeDef, ListAgentTasksTools>;
export declare function listAgentTasksToolsToJSON(listAgentTasksTools: ListAgentTasksTools): string;
export declare function listAgentTasksToolsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksTools, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksSettings$inboundSchema: z.ZodType<ListAgentTasksSettings, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksSettings$Outbound = {
    max_iterations: number;
    max_execution_time: number;
    tool_approval_required: string;
    tools?: Array<ListAgentTasksTools$Outbound> | undefined;
};
/** @internal */
export declare const ListAgentTasksSettings$outboundSchema: z.ZodType<ListAgentTasksSettings$Outbound, z.ZodTypeDef, ListAgentTasksSettings>;
export declare function listAgentTasksSettingsToJSON(listAgentTasksSettings: ListAgentTasksSettings): string;
export declare function listAgentTasksSettingsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksSettings, SDKValidationError>;
/** @internal */
export declare const AgentManifestSnapshot$inboundSchema: z.ZodType<AgentManifestSnapshot, z.ZodTypeDef, unknown>;
/** @internal */
export type AgentManifestSnapshot$Outbound = {
    _id: string;
    key: string;
    role: string;
    description: string;
    instructions: string;
    system_prompt?: string | undefined;
    model: ListAgentTasksModel$Outbound;
    settings?: ListAgentTasksSettings$Outbound | undefined;
    project_id?: string | undefined;
};
/** @internal */
export declare const AgentManifestSnapshot$outboundSchema: z.ZodType<AgentManifestSnapshot$Outbound, z.ZodTypeDef, AgentManifestSnapshot>;
export declare function agentManifestSnapshotToJSON(agentManifestSnapshot: AgentManifestSnapshot): string;
export declare function agentManifestSnapshotFromJSON(jsonString: string): SafeParseResult<AgentManifestSnapshot, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksMemory$inboundSchema: z.ZodType<ListAgentTasksMemory, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksMemory$Outbound = {
    entity_id: string;
};
/** @internal */
export declare const ListAgentTasksMemory$outboundSchema: z.ZodType<ListAgentTasksMemory$Outbound, z.ZodTypeDef, ListAgentTasksMemory>;
export declare function listAgentTasksMemoryToJSON(listAgentTasksMemory: ListAgentTasksMemory): string;
export declare function listAgentTasksMemoryFromJSON(jsonString: string): SafeParseResult<ListAgentTasksMemory, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksState$inboundSchema: z.ZodType<ListAgentTasksState, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksState$Outbound = {
    waiting_for_approval: boolean;
    inactive: boolean;
    error?: string | undefined;
    iteration: number;
    accumulated_execution_time: number;
    variables?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const ListAgentTasksState$outboundSchema: z.ZodType<ListAgentTasksState$Outbound, z.ZodTypeDef, ListAgentTasksState>;
export declare function listAgentTasksStateToJSON(listAgentTasksState: ListAgentTasksState): string;
export declare function listAgentTasksStateFromJSON(jsonString: string): SafeParseResult<ListAgentTasksState, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksMetrics$inboundSchema: z.ZodType<ListAgentTasksMetrics, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksMetrics$Outbound = {
    input_cost: number;
    output_cost: number;
    total_cost: number;
    prompt_tokens: number;
    completion_tokens: number;
    total_tokens: number;
};
/** @internal */
export declare const ListAgentTasksMetrics$outboundSchema: z.ZodType<ListAgentTasksMetrics$Outbound, z.ZodTypeDef, ListAgentTasksMetrics>;
export declare function listAgentTasksMetricsToJSON(listAgentTasksMetrics: ListAgentTasksMetrics): string;
export declare function listAgentTasksMetricsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksMetrics, SDKValidationError>;
/** @internal */
export declare const Tasks$inboundSchema: z.ZodType<Tasks, z.ZodTypeDef, unknown>;
/** @internal */
export type Tasks$Outbound = {
    _id: string;
    agent_manifest_snapshot: AgentManifestSnapshot$Outbound;
    created_by_id?: string | undefined;
    updated_by_id?: string | undefined;
    created?: string | undefined;
    updated?: string | undefined;
    name?: string | undefined;
    workspace_id: string;
    memory?: ListAgentTasksMemory$Outbound | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
    state: ListAgentTasksState$Outbound;
    metrics: ListAgentTasksMetrics$Outbound;
};
/** @internal */
export declare const Tasks$outboundSchema: z.ZodType<Tasks$Outbound, z.ZodTypeDef, Tasks>;
export declare function tasksToJSON(tasks: Tasks): string;
export declare function tasksFromJSON(jsonString: string): SafeParseResult<Tasks, SDKValidationError>;
/** @internal */
export declare const ListAgentTasksResponseBody$inboundSchema: z.ZodType<ListAgentTasksResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type ListAgentTasksResponseBody$Outbound = {
    tasks: Array<Tasks$Outbound>;
    overall_total: number;
};
/** @internal */
export declare const ListAgentTasksResponseBody$outboundSchema: z.ZodType<ListAgentTasksResponseBody$Outbound, z.ZodTypeDef, ListAgentTasksResponseBody>;
export declare function listAgentTasksResponseBodyToJSON(listAgentTasksResponseBody: ListAgentTasksResponseBody): string;
export declare function listAgentTasksResponseBodyFromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseBody, SDKValidationError>;
//# sourceMappingURL=listagenttasks.d.ts.map