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 DeploymentInvokeContentDeployments2 = components.TextContentPartSchema;
/**
 * The contents of the tool message.
 */
export type DeploymentInvokePrefixMessagesDeploymentsRequestRequestBodyContent = string | Array<components.TextContentPartSchema>;
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export declare const DeploymentInvokePrefixMessagesType: {
    readonly Ephemeral: "ephemeral";
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export type DeploymentInvokePrefixMessagesType = ClosedEnum<typeof DeploymentInvokePrefixMessagesType>;
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export declare const PrefixMessagesTtl: {
    readonly Fivem: "5m";
    readonly Oneh: "1h";
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export type PrefixMessagesTtl = ClosedEnum<typeof PrefixMessagesTtl>;
export type PrefixMessagesCacheControl = {
    /**
     * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
     */
    type: DeploymentInvokePrefixMessagesType;
    /**
     * The time-to-live for the cache control breakpoint. This may be one of the following values:
     *
     * @remarks
     *
     * - `5m`: 5 minutes
     * - `1h`: 1 hour
     *
     * Defaults to `5m`. Only supported by `Anthropic` Claude models.
     */
    ttl?: PrefixMessagesTtl | undefined;
};
export type ToolMessage = {
    /**
     * The role of the messages author, in this case tool.
     */
    role: "tool";
    /**
     * The contents of the tool message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * Tool call that this message is responding to.
     */
    toolCallId: string | null;
    cacheControl?: PrefixMessagesCacheControl | undefined;
};
export type DeploymentInvokeContent2 = (components.TextContentPartSchema & {
    type: "text";
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
/**
 * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
 */
export type DeploymentInvokePrefixMessagesDeploymentsRequestContent = string | Array<(components.TextContentPartSchema & {
    type: "text";
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
/**
 * Data about a previous audio response from the model.
 */
export type Audio = {
    /**
     * Unique identifier for a previous audio response from the model.
     */
    id: string;
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
export declare const PrefixMessagesType: {
    readonly Function: "function";
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
export type PrefixMessagesType = ClosedEnum<typeof PrefixMessagesType>;
export type PrefixMessagesFunction = {
    /**
     * The name of the function to call.
     */
    name?: string | undefined;
    /**
     * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
     */
    arguments?: string | undefined;
};
export type PrefixMessagesToolCalls = {
    /**
     * The ID of the tool call.
     */
    id: string;
    /**
     * The type of the tool. Currently, only `function` is supported.
     */
    type: PrefixMessagesType;
    function: PrefixMessagesFunction;
    /**
     * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
     */
    thoughtSignature?: string | undefined;
};
export type AssistantMessage = {
    /**
     * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
     */
    content?: string | Array<(components.TextContentPartSchema & {
        type: "text";
    }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
    /**
     * The refusal message by the assistant.
     */
    refusal?: string | null | undefined;
    /**
     * The role of the messages author, in this case `assistant`.
     */
    role: "assistant";
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
    /**
     * Data about a previous audio response from the model.
     */
    audio?: Audio | null | undefined;
    /**
     * The tool calls generated by the model, such as function calls.
     */
    toolCalls?: Array<PrefixMessagesToolCalls> | undefined;
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export declare const DeploymentInvoke2DeploymentsType: {
    readonly Ephemeral: "ephemeral";
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export type DeploymentInvoke2DeploymentsType = ClosedEnum<typeof DeploymentInvoke2DeploymentsType>;
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export declare const Ttl: {
    readonly Fivem: "5m";
    readonly Oneh: "1h";
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export type Ttl = ClosedEnum<typeof Ttl>;
export type CacheControl = {
    /**
     * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
     */
    type: DeploymentInvoke2DeploymentsType;
    /**
     * The time-to-live for the cache control breakpoint. This may be one of the following values:
     *
     * @remarks
     *
     * - `5m`: 5 minutes
     * - `1h`: 1 hour
     *
     * Defaults to `5m`. Only supported by `Anthropic` Claude models.
     */
    ttl?: Ttl | undefined;
};
export type Four = {
    /**
     * The type of the content part. Always `file`.
     */
    type: "file";
    cacheControl?: CacheControl | undefined;
    /**
     * File data for the content part. Must contain either file_data or uri, but not both.
     */
    file: components.FileContentPartSchema;
};
export type Content2 = (components.TextContentPartSchema & {
    type: "text";
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | Four;
/**
 * The contents of the user message.
 */
export type DeploymentInvokePrefixMessagesDeploymentsContent = string | Array<(components.TextContentPartSchema & {
    type: "text";
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | Four>;
export type UserMessage = {
    /**
     * The role of the messages author, in this case `user`.
     */
    role: "user";
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
    /**
     * The contents of the user message.
     */
    content: string | Array<(components.TextContentPartSchema & {
        type: "text";
    }) | components.ImageContentPartSchema | components.AudioContentPartSchema | Four>;
};
/**
 * The contents of the developer message.
 */
export type DeploymentInvokePrefixMessagesContent = string | Array<components.TextContentPartSchema>;
export type DeveloperMessage = {
    /**
     * The role of the messages author, in this case  `developer`.
     */
    role: "developer";
    /**
     * The contents of the developer message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
};
/**
 * The contents of the system message.
 */
export type PrefixMessagesContent = string | Array<components.TextContentPartSchema>;
/**
 * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
 */
export type SystemMessage = {
    /**
     * The role of the messages author, in this case `system`.
     */
    role: "system";
    /**
     * The contents of the system message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
};
export type PrefixMessages = SystemMessage | DeveloperMessage | UserMessage | AssistantMessage | ToolMessage;
export type DeploymentInvokeContentDeploymentsRequestRequestBodyMessages2 = components.TextContentPartSchema;
/**
 * The contents of the tool message.
 */
export type DeploymentInvokeMessagesDeploymentsRequestRequestBodyContent = string | Array<components.TextContentPartSchema>;
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export declare const DeploymentInvokeMessagesType: {
    readonly Ephemeral: "ephemeral";
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export type DeploymentInvokeMessagesType = ClosedEnum<typeof DeploymentInvokeMessagesType>;
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export declare const MessagesTtl: {
    readonly Fivem: "5m";
    readonly Oneh: "1h";
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export type MessagesTtl = ClosedEnum<typeof MessagesTtl>;
export type MessagesCacheControl = {
    /**
     * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
     */
    type: DeploymentInvokeMessagesType;
    /**
     * The time-to-live for the cache control breakpoint. This may be one of the following values:
     *
     * @remarks
     *
     * - `5m`: 5 minutes
     * - `1h`: 1 hour
     *
     * Defaults to `5m`. Only supported by `Anthropic` Claude models.
     */
    ttl?: MessagesTtl | undefined;
};
export type MessagesToolMessage = {
    /**
     * The role of the messages author, in this case tool.
     */
    role: "tool";
    /**
     * The contents of the tool message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * Tool call that this message is responding to.
     */
    toolCallId: string | null;
    cacheControl?: MessagesCacheControl | undefined;
};
export type DeploymentInvokeContentDeploymentsRequestRequestBody2 = (components.TextContentPartSchema & {
    type: "text";
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
/**
 * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
 */
export type DeploymentInvokeMessagesDeploymentsRequestContent = string | Array<(components.TextContentPartSchema & {
    type: "text";
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
/**
 * Data about a previous audio response from the model.
 */
export type MessagesAudio = {
    /**
     * Unique identifier for a previous audio response from the model.
     */
    id: string;
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
export declare const MessagesType: {
    readonly Function: "function";
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
export type MessagesType = ClosedEnum<typeof MessagesType>;
export type MessagesFunction = {
    /**
     * The name of the function to call.
     */
    name?: string | undefined;
    /**
     * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
     */
    arguments?: string | undefined;
};
export type MessagesToolCalls = {
    /**
     * The ID of the tool call.
     */
    id: string;
    /**
     * The type of the tool. Currently, only `function` is supported.
     */
    type: MessagesType;
    function: MessagesFunction;
    /**
     * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
     */
    thoughtSignature?: string | undefined;
};
export type MessagesAssistantMessage = {
    /**
     * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
     */
    content?: string | Array<(components.TextContentPartSchema & {
        type: "text";
    }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
    /**
     * The refusal message by the assistant.
     */
    refusal?: string | null | undefined;
    /**
     * The role of the messages author, in this case `assistant`.
     */
    role: "assistant";
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
    /**
     * Data about a previous audio response from the model.
     */
    audio?: MessagesAudio | null | undefined;
    /**
     * The tool calls generated by the model, such as function calls.
     */
    toolCalls?: Array<MessagesToolCalls> | undefined;
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export declare const DeploymentInvoke2DeploymentsRequestRequestBodyType: {
    readonly Ephemeral: "ephemeral";
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export type DeploymentInvoke2DeploymentsRequestRequestBodyType = ClosedEnum<typeof DeploymentInvoke2DeploymentsRequestRequestBodyType>;
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export declare const TwoTtl: {
    readonly Fivem: "5m";
    readonly Oneh: "1h";
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export type TwoTtl = ClosedEnum<typeof TwoTtl>;
export type TwoCacheControl = {
    /**
     * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
     */
    type: DeploymentInvoke2DeploymentsRequestRequestBodyType;
    /**
     * The time-to-live for the cache control breakpoint. This may be one of the following values:
     *
     * @remarks
     *
     * - `5m`: 5 minutes
     * - `1h`: 1 hour
     *
     * Defaults to `5m`. Only supported by `Anthropic` Claude models.
     */
    ttl?: TwoTtl | undefined;
};
export type Two4 = {
    /**
     * The type of the content part. Always `file`.
     */
    type: "file";
    cacheControl?: TwoCacheControl | undefined;
    /**
     * File data for the content part. Must contain either file_data or uri, but not both.
     */
    file: components.FileContentPartSchema;
};
export type DeploymentInvokeContentDeploymentsRequest2 = (components.TextContentPartSchema & {
    type: "text";
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | Two4;
/**
 * The contents of the user message.
 */
export type DeploymentInvokeMessagesDeploymentsContent = string | Array<(components.TextContentPartSchema & {
    type: "text";
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | Two4>;
export type MessagesUserMessage = {
    /**
     * The role of the messages author, in this case `user`.
     */
    role: "user";
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
    /**
     * The contents of the user message.
     */
    content: string | Array<(components.TextContentPartSchema & {
        type: "text";
    }) | components.ImageContentPartSchema | components.AudioContentPartSchema | Two4>;
};
/**
 * The contents of the developer message.
 */
export type DeploymentInvokeMessagesContent = string | Array<components.TextContentPartSchema>;
export type MessagesDeveloperMessage = {
    /**
     * The role of the messages author, in this case  `developer`.
     */
    role: "developer";
    /**
     * The contents of the developer message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
};
/**
 * The contents of the system message.
 */
export type MessagesContent = string | Array<components.TextContentPartSchema>;
/**
 * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
 */
export type MessagesSystemMessage = {
    /**
     * The role of the messages author, in this case `system`.
     */
    role: "system";
    /**
     * The contents of the system message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
};
export type DeploymentInvokeMessages = MessagesSystemMessage | MessagesDeveloperMessage | MessagesUserMessage | MessagesAssistantMessage | MessagesToolMessage;
/**
 * Metadata about the document
 */
export type Metadata = {
    /**
     * Name of the file the text is from.
     */
    fileName?: string | undefined;
    /**
     * Content type of the file the text is from.
     */
    fileType?: string | undefined;
    /**
     * The page number the text is from.
     */
    pageNumber?: number | undefined;
};
export type Documents = {
    /**
     * The text content of the document
     */
    text: string;
    /**
     * Metadata about the document
     */
    metadata?: Metadata | undefined;
};
export type InvokeOptions = {
    /**
     * Whether to include the retrieved knowledge chunks in the response.
     */
    includeRetrievals?: boolean | undefined;
    /**
     * Whether to include the usage metrics in the response.
     */
    includeUsage?: boolean | undefined;
    /**
     * A mock response to use instead of calling the LLM API. This is useful for testing purposes. When provided, the system will return a response object with this content as the completion, without making an actual API call to the LLM provider. This works for both streaming and non-streaming requests. Mock responses will not generate logs, traces or be counted for your plan usage.
     */
    mockResponse?: string | undefined;
};
export type Thread = {
    /**
     * Unique thread identifier to group related invocations.
     */
    id: string;
    /**
     * Optional tags to differentiate or categorize threads
     */
    tags?: Array<string> | undefined;
};
/**
 * Exists
 */
export type OrExists = {
    exists: boolean;
};
export type DeploymentInvokeOrNin = string | number | boolean;
/**
 * Not in
 */
export type OrNin = {
    nin: Array<string | number | boolean>;
};
export type DeploymentInvokeOrIn = string | number | boolean;
/**
 * In
 */
export type OrIn = {
    in: Array<string | number | boolean>;
};
/**
 * Less than or equal to
 */
export type OrLte = {
    lte: number;
};
/**
 * Less than
 */
export type OrLt = {
    lt: number;
};
/**
 * Greater than or equal to
 */
export type OrGte = {
    gte: number;
};
/**
 * Greater than
 */
export type OrGt = {
    gt: number;
};
export type DeploymentInvokeOrNe = string | number | boolean;
/**
 * Not equal to
 */
export type OrNe = {
    ne: string | number | boolean;
};
export type DeploymentInvokeOrEq = string | number | boolean;
/**
 * Equal to
 */
export type OrEq = {
    eq: string | number | boolean;
};
export type KnowledgeFilterOr = OrEq | OrNe | OrGt | OrGte | OrLt | OrLte | OrIn | OrNin | OrExists;
/**
 * Or
 */
export type Or = {
    or: Array<{
        [k: string]: OrEq | OrNe | OrGt | OrGte | OrLt | OrLte | OrIn | OrNin | OrExists;
    }>;
};
/**
 * Exists
 */
export type AndExists = {
    exists: boolean;
};
export type DeploymentInvokeAndNin = string | number | boolean;
/**
 * Not in
 */
export type AndNin = {
    nin: Array<string | number | boolean>;
};
export type DeploymentInvokeAndIn = string | number | boolean;
/**
 * In
 */
export type AndIn = {
    in: Array<string | number | boolean>;
};
/**
 * Less than or equal to
 */
export type AndLte = {
    lte: number;
};
/**
 * Less than
 */
export type AndLt = {
    lt: number;
};
/**
 * Greater than or equal to
 */
export type AndGte = {
    gte: number;
};
/**
 * Greater than
 */
export type AndGt = {
    gt: number;
};
export type DeploymentInvokeAndNe = string | number | boolean;
/**
 * Not equal to
 */
export type AndNe = {
    ne: string | number | boolean;
};
export type DeploymentInvokeAndEq = string | number | boolean;
/**
 * Equal to
 */
export type AndEq = {
    eq: string | number | boolean;
};
export type KnowledgeFilterAnd = AndEq | AndNe | AndGt | AndGte | AndLt | AndLte | AndIn | AndNin | AndExists;
/**
 * And
 */
export type And = {
    and: Array<{
        [k: string]: AndEq | AndNe | AndGt | AndGte | AndLt | AndLte | AndIn | AndNin | AndExists;
    }>;
};
/**
 * Exists
 */
export type Exists = {
    exists: boolean;
};
export type OneNin = string | number | boolean;
/**
 * Not in
 */
export type Nin = {
    nin: Array<string | number | boolean>;
};
export type OneIn = string | number | boolean;
/**
 * In
 */
export type In = {
    in: Array<string | number | boolean>;
};
/**
 * Less than or equal to
 */
export type Lte = {
    lte: number;
};
/**
 * Less than
 */
export type Lt = {
    lt: number;
};
/**
 * Greater than or equal to
 */
export type Gte = {
    gte: number;
};
/**
 * Greater than
 */
export type Gt = {
    gt: number;
};
export type OneNe = string | number | boolean;
/**
 * Not equal to
 */
export type Ne = {
    ne: string | number | boolean;
};
export type OneEq = string | number | boolean;
/**
 * Equal to
 */
export type Eq = {
    eq: string | number | boolean;
};
export type KnowledgeFilter1 = Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
/**
 * A filter to apply to the knowledge base chunk metadata when using  knowledge bases in the deployment.
 */
export type KnowledgeFilter = And | Or | {
    [k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
};
export type DeploymentInvokeRequestBody = {
    /**
     * The deployment key to invoke
     */
    key: string;
    /**
     * If set, partial message content will be sent. Tokens will be sent as data-only `server-sent events` as they become available, with the stream terminated by a `data: [DONE]` message.
     */
    stream?: boolean | undefined;
    /**
     * Key-value pairs variables to replace in your prompts. If a variable is not provided that is defined in the prompt, the default variables are used.
     */
    inputs?: {
        [k: string]: any;
    } | undefined;
    /**
     * Key-value pairs that match your data model and fields declared in your deployment routing configuration
     */
    context?: {
        [k: string]: any;
    } | undefined;
    /**
     * A list of messages to include after the `System` message, but before the  `User` and `Assistant` pairs configured in your deployment.
     */
    prefixMessages?: Array<SystemMessage | DeveloperMessage | UserMessage | AssistantMessage | ToolMessage> | undefined;
    /**
     * A list of messages to send to the deployment.
     */
    messages?: Array<MessagesSystemMessage | MessagesDeveloperMessage | MessagesUserMessage | MessagesAssistantMessage | MessagesToolMessage> | undefined;
    /**
     * Information about the identity making the request. If the identity does not exist, it will be created automatically.
     */
    identity?: components.PublicIdentity | undefined;
    /**
     * A list of file IDs that are associated with the deployment request.
     */
    fileIds?: Array<string> | undefined;
    /**
     * Key-value pairs that you want to attach to the log generated by this request.
     */
    metadata?: {
        [k: string]: any;
    } | undefined;
    /**
     * Utilized for passing additional parameters to the model provider. Exercise caution when using this feature, as the included parameters will overwrite any parameters specified in the deployment prompt configuration.
     */
    extraParams?: {
        [k: string]: any;
    } | undefined;
    /**
     * A list of documents from your external knowledge base (e.g., chunks retrieved from your own vector database or RAG pipeline) that provide context for the model response. These documents can be used by evaluators and guardrails to assess the relevance and accuracy of the model output against the provided context.
     */
    documents?: Array<Documents> | undefined;
    invokeOptions?: InvokeOptions | undefined;
    thread?: Thread | undefined;
    /**
     * A filter to apply to the knowledge base chunk metadata when using  knowledge bases in the deployment.
     */
    knowledgeFilter?: And | Or | {
        [k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
    } | undefined;
};
/**
 * Indicates the type of model used to generate the response
 */
export declare const DeploymentInvokeObject: {
    readonly Chat: "chat";
    readonly Completion: "completion";
    readonly Image: "image";
};
/**
 * Indicates the type of model used to generate the response
 */
export type DeploymentInvokeObject = ClosedEnum<typeof DeploymentInvokeObject>;
/**
 * The provider used to generate the response
 */
export declare const Provider: {
    readonly Openai: "openai";
    readonly Groq: "groq";
    readonly Cohere: "cohere";
    readonly Azure: "azure";
    readonly Aws: "aws";
    readonly Google: "google";
    readonly GoogleAi: "google-ai";
    readonly Huggingface: "huggingface";
    readonly Togetherai: "togetherai";
    readonly Perplexity: "perplexity";
    readonly Anthropic: "anthropic";
    readonly Leonardoai: "leonardoai";
    readonly Fal: "fal";
    readonly Nvidia: "nvidia";
    readonly Jina: "jina";
    readonly Elevenlabs: "elevenlabs";
    readonly Litellm: "litellm";
    readonly Cerebras: "cerebras";
    readonly Openailike: "openailike";
    readonly Bytedance: "bytedance";
    readonly Mistral: "mistral";
    readonly Deepseek: "deepseek";
    readonly Contextualai: "contextualai";
    readonly Moonshotai: "moonshotai";
    readonly Zai: "zai";
    readonly Minimax: "minimax";
    readonly Xai: "xai";
    readonly Alibaba: "alibaba";
    readonly Tensorix: "tensorix";
    readonly Scaleway: "scaleway";
    readonly Hcompany: "hcompany";
    readonly Inceptron: "inceptron";
    readonly Wafer: "wafer";
    readonly Slack: "slack";
    readonly Orq: "orq";
};
/**
 * The provider used to generate the response
 */
export type Provider = ClosedEnum<typeof Provider>;
export type Telemetry = {
    /**
     * The trace id for the request that generated this response
     */
    traceId: string;
    /**
     * The span id for the request that generated this response
     */
    spanId: string;
};
/**
 * Metadata of the retrieved chunk from the knowledge base
 */
export type DeploymentInvokeMetadata = {
    /**
     * Name of the file
     */
    fileName: string;
    /**
     * Page number of the chunk
     */
    pageNumber: number | null;
    /**
     * Type of the file
     */
    fileType: string;
    /**
     * Rerank scores are normalized to be in the range [0, 1]. Scores close to 1 indicate a high relevance to the query, and scores closer to 0 indicate low relevance. It is not accurate to assume a score of 0.9 means the document is 2x more relevant than a document with a score of 0.45
     */
    rerankScore?: number | undefined;
    /**
     * Search scores are normalized to be in the range [0, 1]. Search score is calculated based on `[Cosine Similarity](https://en.wikipedia.org/wiki/Cosine_similarity)` algorithm. Scores close to 1 indicate the document is closer to the query, and scores closer to 0 indicate the document is farther from the query.
     */
    searchScore: number;
};
export type Retrievals = {
    /**
     * Content of the retrieved chunk from the knowledge base
     */
    document: string;
    /**
     * Metadata of the retrieved chunk from the knowledge base
     */
    metadata: DeploymentInvokeMetadata;
};
export type PromptTokensDetails = {
    cachedTokens?: number | null | undefined;
};
export type CompletionTokensDetails = {
    reasoningTokens?: number | null | undefined;
};
/**
 * Usage metrics for the response
 */
export type Usage = {
    totalTokens?: number | undefined;
    promptTokens?: number | undefined;
    completionTokens?: number | undefined;
    promptTokensDetails?: PromptTokensDetails | undefined;
    completionTokensDetails?: CompletionTokensDetails | null | undefined;
};
/**
 * The role of the prompt message
 */
export declare const DeploymentInvokeMessageDeploymentsRole: {
    readonly System: "system";
    readonly Developer: "developer";
    readonly Assistant: "assistant";
    readonly User: "user";
    readonly Exception: "exception";
    readonly Tool: "tool";
    readonly Prompt: "prompt";
    readonly Correction: "correction";
    readonly ExpectedOutput: "expected_output";
};
/**
 * The role of the prompt message
 */
export type DeploymentInvokeMessageDeploymentsRole = ClosedEnum<typeof DeploymentInvokeMessageDeploymentsRole>;
export type Message3 = {
    type: "image";
    /**
     * The role of the prompt message
     */
    role: DeploymentInvokeMessageDeploymentsRole;
    url: string;
};
/**
 * The role of the prompt message
 */
export declare const DeploymentInvokeMessageRole: {
    readonly System: "system";
    readonly Developer: "developer";
    readonly Assistant: "assistant";
    readonly User: "user";
    readonly Exception: "exception";
    readonly Tool: "tool";
    readonly Prompt: "prompt";
    readonly Correction: "correction";
    readonly ExpectedOutput: "expected_output";
};
/**
 * The role of the prompt message
 */
export type DeploymentInvokeMessageRole = ClosedEnum<typeof DeploymentInvokeMessageRole>;
export type Message2 = {
    type: "content";
    /**
     * The role of the prompt message
     */
    role: DeploymentInvokeMessageRole;
    content: string | null;
    /**
     * Internal thought process of the model
     */
    reasoning?: string | undefined;
    /**
     * The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
     */
    reasoningSignature?: string | undefined;
    /**
     * Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
     */
    redactedReasoning?: string | undefined;
};
/**
 * The role of the prompt message
 */
export declare const MessageRole: {
    readonly System: "system";
    readonly Developer: "developer";
    readonly Assistant: "assistant";
    readonly User: "user";
    readonly Exception: "exception";
    readonly Tool: "tool";
    readonly Prompt: "prompt";
    readonly Correction: "correction";
    readonly ExpectedOutput: "expected_output";
};
/**
 * The role of the prompt message
 */
export type MessageRole = ClosedEnum<typeof MessageRole>;
export declare const DeploymentInvokeMessageDeploymentsResponseType: {
    readonly Function: "function";
};
export type DeploymentInvokeMessageDeploymentsResponseType = ClosedEnum<typeof DeploymentInvokeMessageDeploymentsResponseType>;
export type MessageFunction = {
    name: string;
    /**
     * JSON string arguments for the functions
     */
    arguments: string;
};
export type MessageToolCalls = {
    id?: string | undefined;
    index?: number | undefined;
    type: DeploymentInvokeMessageDeploymentsResponseType;
    function: MessageFunction;
};
export type Message1 = {
    type: "tool_calls";
    /**
     * The role of the prompt message
     */
    role: MessageRole;
    content?: string | null | undefined;
    toolCalls: Array<MessageToolCalls>;
    /**
     * Internal thought process of the model
     */
    reasoning?: string | undefined;
    /**
     * The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
     */
    reasoningSignature?: string | undefined;
    /**
     * Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
     */
    redactedReasoning?: string | undefined;
};
export type Message = Message1 | Message2 | Message3;
export type Choices = {
    index: number;
    message: Message1 | Message2 | Message3;
    finishReason?: string | null | undefined;
};
/**
 * Successful operation
 */
export type DeploymentInvokeResponseBody = {
    /**
     * A unique identifier for the response. Can be used to add metrics to the transaction.
     */
    id: string;
    /**
     * A timestamp indicating when the object was created. Usually in a standardized format like ISO 8601
     */
    created: Date;
    /**
     * Indicates the type of model used to generate the response
     */
    object: DeploymentInvokeObject;
    /**
     * The model used to generate the response
     */
    model: string;
    /**
     * The provider used to generate the response
     */
    provider: Provider;
    /**
     * Indicates if the response is the final response
     */
    isFinal: boolean;
    /**
     * Indicates integration id used to generate the response
     */
    integrationId?: string | undefined;
    telemetry: Telemetry;
    /**
     * A timestamp indicating when the object was finalized. Usually in a standardized format like ISO 8601
     */
    finalized?: Date | undefined;
    /**
     * Provider backed system fingerprint.
     */
    systemFingerprint?: string | null | undefined;
    /**
     * List of documents retrieved from the knowledge base. This property is only available when the `include_retrievals` flag is set to `true` in the invoke settings. When stream is set to true, the `retrievals` property will be returned in the last streamed chunk where the property `is_final` is set to `true`.
     */
    retrievals?: Array<Retrievals> | undefined;
    /**
     * Response returned by the model provider. This functionality is only supported when streaming is not used. If streaming is used, the `provider_response` property will be set to `null`.
     */
    providerResponse?: any | undefined;
    /**
     * Usage metrics for the response
     */
    usage?: Usage | null | undefined;
    /**
     * A list of choices generated by the model
     */
    choices: Array<Choices>;
};
/** @internal */
export type DeploymentInvokeContentDeployments2$Outbound = components.TextContentPartSchema$Outbound;
/** @internal */
export declare const DeploymentInvokeContentDeployments2$outboundSchema: z.ZodType<DeploymentInvokeContentDeployments2$Outbound, z.ZodTypeDef, DeploymentInvokeContentDeployments2>;
export declare function deploymentInvokeContentDeployments2ToJSON(deploymentInvokeContentDeployments2: DeploymentInvokeContentDeployments2): string;
/** @internal */
export type DeploymentInvokePrefixMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const DeploymentInvokePrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema: z.ZodType<DeploymentInvokePrefixMessagesDeploymentsRequestRequestBodyContent$Outbound, z.ZodTypeDef, DeploymentInvokePrefixMessagesDeploymentsRequestRequestBodyContent>;
export declare function deploymentInvokePrefixMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentInvokePrefixMessagesDeploymentsRequestRequestBodyContent: DeploymentInvokePrefixMessagesDeploymentsRequestRequestBodyContent): string;
/** @internal */
export declare const DeploymentInvokePrefixMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentInvokePrefixMessagesType>;
/** @internal */
export declare const PrefixMessagesTtl$outboundSchema: z.ZodNativeEnum<typeof PrefixMessagesTtl>;
/** @internal */
export type PrefixMessagesCacheControl$Outbound = {
    type: string;
    ttl: string;
};
/** @internal */
export declare const PrefixMessagesCacheControl$outboundSchema: z.ZodType<PrefixMessagesCacheControl$Outbound, z.ZodTypeDef, PrefixMessagesCacheControl>;
export declare function prefixMessagesCacheControlToJSON(prefixMessagesCacheControl: PrefixMessagesCacheControl): string;
/** @internal */
export type ToolMessage$Outbound = {
    role: "tool";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    tool_call_id: string | null;
    cache_control?: PrefixMessagesCacheControl$Outbound | undefined;
};
/** @internal */
export declare const ToolMessage$outboundSchema: z.ZodType<ToolMessage$Outbound, z.ZodTypeDef, ToolMessage>;
export declare function toolMessageToJSON(toolMessage: ToolMessage): string;
/** @internal */
export type DeploymentInvokeContent2$Outbound = (components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
/** @internal */
export declare const DeploymentInvokeContent2$outboundSchema: z.ZodType<DeploymentInvokeContent2$Outbound, z.ZodTypeDef, DeploymentInvokeContent2>;
export declare function deploymentInvokeContent2ToJSON(deploymentInvokeContent2: DeploymentInvokeContent2): string;
/** @internal */
export type DeploymentInvokePrefixMessagesDeploymentsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
/** @internal */
export declare const DeploymentInvokePrefixMessagesDeploymentsRequestContent$outboundSchema: z.ZodType<DeploymentInvokePrefixMessagesDeploymentsRequestContent$Outbound, z.ZodTypeDef, DeploymentInvokePrefixMessagesDeploymentsRequestContent>;
export declare function deploymentInvokePrefixMessagesDeploymentsRequestContentToJSON(deploymentInvokePrefixMessagesDeploymentsRequestContent: DeploymentInvokePrefixMessagesDeploymentsRequestContent): string;
/** @internal */
export type Audio$Outbound = {
    id: string;
};
/** @internal */
export declare const Audio$outboundSchema: z.ZodType<Audio$Outbound, z.ZodTypeDef, Audio>;
export declare function audioToJSON(audio: Audio): string;
/** @internal */
export declare const PrefixMessagesType$outboundSchema: z.ZodNativeEnum<typeof PrefixMessagesType>;
/** @internal */
export type PrefixMessagesFunction$Outbound = {
    name?: string | undefined;
    arguments?: string | undefined;
};
/** @internal */
export declare const PrefixMessagesFunction$outboundSchema: z.ZodType<PrefixMessagesFunction$Outbound, z.ZodTypeDef, PrefixMessagesFunction>;
export declare function prefixMessagesFunctionToJSON(prefixMessagesFunction: PrefixMessagesFunction): string;
/** @internal */
export type PrefixMessagesToolCalls$Outbound = {
    id: string;
    type: string;
    function: PrefixMessagesFunction$Outbound;
    thought_signature?: string | undefined;
};
/** @internal */
export declare const PrefixMessagesToolCalls$outboundSchema: z.ZodType<PrefixMessagesToolCalls$Outbound, z.ZodTypeDef, PrefixMessagesToolCalls>;
export declare function prefixMessagesToolCallsToJSON(prefixMessagesToolCalls: PrefixMessagesToolCalls): string;
/** @internal */
export type AssistantMessage$Outbound = {
    content?: string | Array<(components.TextContentPartSchema$Outbound & {
        type: "text";
    }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
    refusal?: string | null | undefined;
    role: "assistant";
    name?: string | undefined;
    audio?: Audio$Outbound | null | undefined;
    tool_calls?: Array<PrefixMessagesToolCalls$Outbound> | undefined;
};
/** @internal */
export declare const AssistantMessage$outboundSchema: z.ZodType<AssistantMessage$Outbound, z.ZodTypeDef, AssistantMessage>;
export declare function assistantMessageToJSON(assistantMessage: AssistantMessage): string;
/** @internal */
export declare const DeploymentInvoke2DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentInvoke2DeploymentsType>;
/** @internal */
export declare const Ttl$outboundSchema: z.ZodNativeEnum<typeof Ttl>;
/** @internal */
export type CacheControl$Outbound = {
    type: string;
    ttl: string;
};
/** @internal */
export declare const CacheControl$outboundSchema: z.ZodType<CacheControl$Outbound, z.ZodTypeDef, CacheControl>;
export declare function cacheControlToJSON(cacheControl: CacheControl): string;
/** @internal */
export type Four$Outbound = {
    type: "file";
    cache_control?: CacheControl$Outbound | undefined;
    file: components.FileContentPartSchema$Outbound;
};
/** @internal */
export declare const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four>;
export declare function fourToJSON(four: Four): string;
/** @internal */
export type Content2$Outbound = (components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Four$Outbound;
/** @internal */
export declare const Content2$outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
export declare function content2ToJSON(content2: Content2): string;
/** @internal */
export type DeploymentInvokePrefixMessagesDeploymentsContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Four$Outbound>;
/** @internal */
export declare const DeploymentInvokePrefixMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentInvokePrefixMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentInvokePrefixMessagesDeploymentsContent>;
export declare function deploymentInvokePrefixMessagesDeploymentsContentToJSON(deploymentInvokePrefixMessagesDeploymentsContent: DeploymentInvokePrefixMessagesDeploymentsContent): string;
/** @internal */
export type UserMessage$Outbound = {
    role: "user";
    name?: string | undefined;
    content: string | Array<(components.TextContentPartSchema$Outbound & {
        type: "text";
    }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Four$Outbound>;
};
/** @internal */
export declare const UserMessage$outboundSchema: z.ZodType<UserMessage$Outbound, z.ZodTypeDef, UserMessage>;
export declare function userMessageToJSON(userMessage: UserMessage): string;
/** @internal */
export type DeploymentInvokePrefixMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const DeploymentInvokePrefixMessagesContent$outboundSchema: z.ZodType<DeploymentInvokePrefixMessagesContent$Outbound, z.ZodTypeDef, DeploymentInvokePrefixMessagesContent>;
export declare function deploymentInvokePrefixMessagesContentToJSON(deploymentInvokePrefixMessagesContent: DeploymentInvokePrefixMessagesContent): string;
/** @internal */
export type DeveloperMessage$Outbound = {
    role: "developer";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    name?: string | undefined;
};
/** @internal */
export declare const DeveloperMessage$outboundSchema: z.ZodType<DeveloperMessage$Outbound, z.ZodTypeDef, DeveloperMessage>;
export declare function developerMessageToJSON(developerMessage: DeveloperMessage): string;
/** @internal */
export type PrefixMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const PrefixMessagesContent$outboundSchema: z.ZodType<PrefixMessagesContent$Outbound, z.ZodTypeDef, PrefixMessagesContent>;
export declare function prefixMessagesContentToJSON(prefixMessagesContent: PrefixMessagesContent): string;
/** @internal */
export type SystemMessage$Outbound = {
    role: "system";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    name?: string | undefined;
};
/** @internal */
export declare const SystemMessage$outboundSchema: z.ZodType<SystemMessage$Outbound, z.ZodTypeDef, SystemMessage>;
export declare function systemMessageToJSON(systemMessage: SystemMessage): string;
/** @internal */
export type PrefixMessages$Outbound = SystemMessage$Outbound | DeveloperMessage$Outbound | UserMessage$Outbound | AssistantMessage$Outbound | ToolMessage$Outbound;
/** @internal */
export declare const PrefixMessages$outboundSchema: z.ZodType<PrefixMessages$Outbound, z.ZodTypeDef, PrefixMessages>;
export declare function prefixMessagesToJSON(prefixMessages: PrefixMessages): string;
/** @internal */
export type DeploymentInvokeContentDeploymentsRequestRequestBodyMessages2$Outbound = components.TextContentPartSchema$Outbound;
/** @internal */
export declare const DeploymentInvokeContentDeploymentsRequestRequestBodyMessages2$outboundSchema: z.ZodType<DeploymentInvokeContentDeploymentsRequestRequestBodyMessages2$Outbound, z.ZodTypeDef, DeploymentInvokeContentDeploymentsRequestRequestBodyMessages2>;
export declare function deploymentInvokeContentDeploymentsRequestRequestBodyMessages2ToJSON(deploymentInvokeContentDeploymentsRequestRequestBodyMessages2: DeploymentInvokeContentDeploymentsRequestRequestBodyMessages2): string;
/** @internal */
export type DeploymentInvokeMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const DeploymentInvokeMessagesDeploymentsRequestRequestBodyContent$outboundSchema: z.ZodType<DeploymentInvokeMessagesDeploymentsRequestRequestBodyContent$Outbound, z.ZodTypeDef, DeploymentInvokeMessagesDeploymentsRequestRequestBodyContent>;
export declare function deploymentInvokeMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentInvokeMessagesDeploymentsRequestRequestBodyContent: DeploymentInvokeMessagesDeploymentsRequestRequestBodyContent): string;
/** @internal */
export declare const DeploymentInvokeMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentInvokeMessagesType>;
/** @internal */
export declare const MessagesTtl$outboundSchema: z.ZodNativeEnum<typeof MessagesTtl>;
/** @internal */
export type MessagesCacheControl$Outbound = {
    type: string;
    ttl: string;
};
/** @internal */
export declare const MessagesCacheControl$outboundSchema: z.ZodType<MessagesCacheControl$Outbound, z.ZodTypeDef, MessagesCacheControl>;
export declare function messagesCacheControlToJSON(messagesCacheControl: MessagesCacheControl): string;
/** @internal */
export type MessagesToolMessage$Outbound = {
    role: "tool";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    tool_call_id: string | null;
    cache_control?: MessagesCacheControl$Outbound | undefined;
};
/** @internal */
export declare const MessagesToolMessage$outboundSchema: z.ZodType<MessagesToolMessage$Outbound, z.ZodTypeDef, MessagesToolMessage>;
export declare function messagesToolMessageToJSON(messagesToolMessage: MessagesToolMessage): string;
/** @internal */
export type DeploymentInvokeContentDeploymentsRequestRequestBody2$Outbound = (components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
/** @internal */
export declare const DeploymentInvokeContentDeploymentsRequestRequestBody2$outboundSchema: z.ZodType<DeploymentInvokeContentDeploymentsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentInvokeContentDeploymentsRequestRequestBody2>;
export declare function deploymentInvokeContentDeploymentsRequestRequestBody2ToJSON(deploymentInvokeContentDeploymentsRequestRequestBody2: DeploymentInvokeContentDeploymentsRequestRequestBody2): string;
/** @internal */
export type DeploymentInvokeMessagesDeploymentsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
/** @internal */
export declare const DeploymentInvokeMessagesDeploymentsRequestContent$outboundSchema: z.ZodType<DeploymentInvokeMessagesDeploymentsRequestContent$Outbound, z.ZodTypeDef, DeploymentInvokeMessagesDeploymentsRequestContent>;
export declare function deploymentInvokeMessagesDeploymentsRequestContentToJSON(deploymentInvokeMessagesDeploymentsRequestContent: DeploymentInvokeMessagesDeploymentsRequestContent): string;
/** @internal */
export type MessagesAudio$Outbound = {
    id: string;
};
/** @internal */
export declare const MessagesAudio$outboundSchema: z.ZodType<MessagesAudio$Outbound, z.ZodTypeDef, MessagesAudio>;
export declare function messagesAudioToJSON(messagesAudio: MessagesAudio): string;
/** @internal */
export declare const MessagesType$outboundSchema: z.ZodNativeEnum<typeof MessagesType>;
/** @internal */
export type MessagesFunction$Outbound = {
    name?: string | undefined;
    arguments?: string | undefined;
};
/** @internal */
export declare const MessagesFunction$outboundSchema: z.ZodType<MessagesFunction$Outbound, z.ZodTypeDef, MessagesFunction>;
export declare function messagesFunctionToJSON(messagesFunction: MessagesFunction): string;
/** @internal */
export type MessagesToolCalls$Outbound = {
    id: string;
    type: string;
    function: MessagesFunction$Outbound;
    thought_signature?: string | undefined;
};
/** @internal */
export declare const MessagesToolCalls$outboundSchema: z.ZodType<MessagesToolCalls$Outbound, z.ZodTypeDef, MessagesToolCalls>;
export declare function messagesToolCallsToJSON(messagesToolCalls: MessagesToolCalls): string;
/** @internal */
export type MessagesAssistantMessage$Outbound = {
    content?: string | Array<(components.TextContentPartSchema$Outbound & {
        type: "text";
    }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
    refusal?: string | null | undefined;
    role: "assistant";
    name?: string | undefined;
    audio?: MessagesAudio$Outbound | null | undefined;
    tool_calls?: Array<MessagesToolCalls$Outbound> | undefined;
};
/** @internal */
export declare const MessagesAssistantMessage$outboundSchema: z.ZodType<MessagesAssistantMessage$Outbound, z.ZodTypeDef, MessagesAssistantMessage>;
export declare function messagesAssistantMessageToJSON(messagesAssistantMessage: MessagesAssistantMessage): string;
/** @internal */
export declare const DeploymentInvoke2DeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentInvoke2DeploymentsRequestRequestBodyType>;
/** @internal */
export declare const TwoTtl$outboundSchema: z.ZodNativeEnum<typeof TwoTtl>;
/** @internal */
export type TwoCacheControl$Outbound = {
    type: string;
    ttl: string;
};
/** @internal */
export declare const TwoCacheControl$outboundSchema: z.ZodType<TwoCacheControl$Outbound, z.ZodTypeDef, TwoCacheControl>;
export declare function twoCacheControlToJSON(twoCacheControl: TwoCacheControl): string;
/** @internal */
export type Two4$Outbound = {
    type: "file";
    cache_control?: TwoCacheControl$Outbound | undefined;
    file: components.FileContentPartSchema$Outbound;
};
/** @internal */
export declare const Two4$outboundSchema: z.ZodType<Two4$Outbound, z.ZodTypeDef, Two4>;
export declare function two4ToJSON(two4: Two4): string;
/** @internal */
export type DeploymentInvokeContentDeploymentsRequest2$Outbound = (components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Two4$Outbound;
/** @internal */
export declare const DeploymentInvokeContentDeploymentsRequest2$outboundSchema: z.ZodType<DeploymentInvokeContentDeploymentsRequest2$Outbound, z.ZodTypeDef, DeploymentInvokeContentDeploymentsRequest2>;
export declare function deploymentInvokeContentDeploymentsRequest2ToJSON(deploymentInvokeContentDeploymentsRequest2: DeploymentInvokeContentDeploymentsRequest2): string;
/** @internal */
export type DeploymentInvokeMessagesDeploymentsContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Two4$Outbound>;
/** @internal */
export declare const DeploymentInvokeMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentInvokeMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentInvokeMessagesDeploymentsContent>;
export declare function deploymentInvokeMessagesDeploymentsContentToJSON(deploymentInvokeMessagesDeploymentsContent: DeploymentInvokeMessagesDeploymentsContent): string;
/** @internal */
export type MessagesUserMessage$Outbound = {
    role: "user";
    name?: string | undefined;
    content: string | Array<(components.TextContentPartSchema$Outbound & {
        type: "text";
    }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Two4$Outbound>;
};
/** @internal */
export declare const MessagesUserMessage$outboundSchema: z.ZodType<MessagesUserMessage$Outbound, z.ZodTypeDef, MessagesUserMessage>;
export declare function messagesUserMessageToJSON(messagesUserMessage: MessagesUserMessage): string;
/** @internal */
export type DeploymentInvokeMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const DeploymentInvokeMessagesContent$outboundSchema: z.ZodType<DeploymentInvokeMessagesContent$Outbound, z.ZodTypeDef, DeploymentInvokeMessagesContent>;
export declare function deploymentInvokeMessagesContentToJSON(deploymentInvokeMessagesContent: DeploymentInvokeMessagesContent): string;
/** @internal */
export type MessagesDeveloperMessage$Outbound = {
    role: "developer";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    name?: string | undefined;
};
/** @internal */
export declare const MessagesDeveloperMessage$outboundSchema: z.ZodType<MessagesDeveloperMessage$Outbound, z.ZodTypeDef, MessagesDeveloperMessage>;
export declare function messagesDeveloperMessageToJSON(messagesDeveloperMessage: MessagesDeveloperMessage): string;
/** @internal */
export type MessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const MessagesContent$outboundSchema: z.ZodType<MessagesContent$Outbound, z.ZodTypeDef, MessagesContent>;
export declare function messagesContentToJSON(messagesContent: MessagesContent): string;
/** @internal */
export type MessagesSystemMessage$Outbound = {
    role: "system";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    name?: string | undefined;
};
/** @internal */
export declare const MessagesSystemMessage$outboundSchema: z.ZodType<MessagesSystemMessage$Outbound, z.ZodTypeDef, MessagesSystemMessage>;
export declare function messagesSystemMessageToJSON(messagesSystemMessage: MessagesSystemMessage): string;
/** @internal */
export type DeploymentInvokeMessages$Outbound = MessagesSystemMessage$Outbound | MessagesDeveloperMessage$Outbound | MessagesUserMessage$Outbound | MessagesAssistantMessage$Outbound | MessagesToolMessage$Outbound;
/** @internal */
export declare const DeploymentInvokeMessages$outboundSchema: z.ZodType<DeploymentInvokeMessages$Outbound, z.ZodTypeDef, DeploymentInvokeMessages>;
export declare function deploymentInvokeMessagesToJSON(deploymentInvokeMessages: DeploymentInvokeMessages): string;
/** @internal */
export type Metadata$Outbound = {
    file_name?: string | undefined;
    file_type?: string | undefined;
    page_number?: number | undefined;
};
/** @internal */
export declare const Metadata$outboundSchema: z.ZodType<Metadata$Outbound, z.ZodTypeDef, Metadata>;
export declare function metadataToJSON(metadata: Metadata): string;
/** @internal */
export type Documents$Outbound = {
    text: string;
    metadata?: Metadata$Outbound | undefined;
};
/** @internal */
export declare const Documents$outboundSchema: z.ZodType<Documents$Outbound, z.ZodTypeDef, Documents>;
export declare function documentsToJSON(documents: Documents): string;
/** @internal */
export type InvokeOptions$Outbound = {
    include_retrievals: boolean;
    include_usage: boolean;
    mock_response?: string | undefined;
};
/** @internal */
export declare const InvokeOptions$outboundSchema: z.ZodType<InvokeOptions$Outbound, z.ZodTypeDef, InvokeOptions>;
export declare function invokeOptionsToJSON(invokeOptions: InvokeOptions): string;
/** @internal */
export type Thread$Outbound = {
    id: string;
    tags?: Array<string> | undefined;
};
/** @internal */
export declare const Thread$outboundSchema: z.ZodType<Thread$Outbound, z.ZodTypeDef, Thread>;
export declare function threadToJSON(thread: Thread): string;
/** @internal */
export type OrExists$Outbound = {
    exists: boolean;
};
/** @internal */
export declare const OrExists$outboundSchema: z.ZodType<OrExists$Outbound, z.ZodTypeDef, OrExists>;
export declare function orExistsToJSON(orExists: OrExists): string;
/** @internal */
export type DeploymentInvokeOrNin$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentInvokeOrNin$outboundSchema: z.ZodType<DeploymentInvokeOrNin$Outbound, z.ZodTypeDef, DeploymentInvokeOrNin>;
export declare function deploymentInvokeOrNinToJSON(deploymentInvokeOrNin: DeploymentInvokeOrNin): string;
/** @internal */
export type OrNin$Outbound = {
    nin: Array<string | number | boolean>;
};
/** @internal */
export declare const OrNin$outboundSchema: z.ZodType<OrNin$Outbound, z.ZodTypeDef, OrNin>;
export declare function orNinToJSON(orNin: OrNin): string;
/** @internal */
export type DeploymentInvokeOrIn$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentInvokeOrIn$outboundSchema: z.ZodType<DeploymentInvokeOrIn$Outbound, z.ZodTypeDef, DeploymentInvokeOrIn>;
export declare function deploymentInvokeOrInToJSON(deploymentInvokeOrIn: DeploymentInvokeOrIn): string;
/** @internal */
export type OrIn$Outbound = {
    in: Array<string | number | boolean>;
};
/** @internal */
export declare const OrIn$outboundSchema: z.ZodType<OrIn$Outbound, z.ZodTypeDef, OrIn>;
export declare function orInToJSON(orIn: OrIn): string;
/** @internal */
export type OrLte$Outbound = {
    lte: number;
};
/** @internal */
export declare const OrLte$outboundSchema: z.ZodType<OrLte$Outbound, z.ZodTypeDef, OrLte>;
export declare function orLteToJSON(orLte: OrLte): string;
/** @internal */
export type OrLt$Outbound = {
    lt: number;
};
/** @internal */
export declare const OrLt$outboundSchema: z.ZodType<OrLt$Outbound, z.ZodTypeDef, OrLt>;
export declare function orLtToJSON(orLt: OrLt): string;
/** @internal */
export type OrGte$Outbound = {
    gte: number;
};
/** @internal */
export declare const OrGte$outboundSchema: z.ZodType<OrGte$Outbound, z.ZodTypeDef, OrGte>;
export declare function orGteToJSON(orGte: OrGte): string;
/** @internal */
export type OrGt$Outbound = {
    gt: number;
};
/** @internal */
export declare const OrGt$outboundSchema: z.ZodType<OrGt$Outbound, z.ZodTypeDef, OrGt>;
export declare function orGtToJSON(orGt: OrGt): string;
/** @internal */
export type DeploymentInvokeOrNe$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentInvokeOrNe$outboundSchema: z.ZodType<DeploymentInvokeOrNe$Outbound, z.ZodTypeDef, DeploymentInvokeOrNe>;
export declare function deploymentInvokeOrNeToJSON(deploymentInvokeOrNe: DeploymentInvokeOrNe): string;
/** @internal */
export type OrNe$Outbound = {
    ne: string | number | boolean;
};
/** @internal */
export declare const OrNe$outboundSchema: z.ZodType<OrNe$Outbound, z.ZodTypeDef, OrNe>;
export declare function orNeToJSON(orNe: OrNe): string;
/** @internal */
export type DeploymentInvokeOrEq$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentInvokeOrEq$outboundSchema: z.ZodType<DeploymentInvokeOrEq$Outbound, z.ZodTypeDef, DeploymentInvokeOrEq>;
export declare function deploymentInvokeOrEqToJSON(deploymentInvokeOrEq: DeploymentInvokeOrEq): string;
/** @internal */
export type OrEq$Outbound = {
    eq: string | number | boolean;
};
/** @internal */
export declare const OrEq$outboundSchema: z.ZodType<OrEq$Outbound, z.ZodTypeDef, OrEq>;
export declare function orEqToJSON(orEq: OrEq): string;
/** @internal */
export type KnowledgeFilterOr$Outbound = OrEq$Outbound | OrNe$Outbound | OrGt$Outbound | OrGte$Outbound | OrLt$Outbound | OrLte$Outbound | OrIn$Outbound | OrNin$Outbound | OrExists$Outbound;
/** @internal */
export declare const KnowledgeFilterOr$outboundSchema: z.ZodType<KnowledgeFilterOr$Outbound, z.ZodTypeDef, KnowledgeFilterOr>;
export declare function knowledgeFilterOrToJSON(knowledgeFilterOr: KnowledgeFilterOr): string;
/** @internal */
export type Or$Outbound = {
    or: Array<{
        [k: string]: OrEq$Outbound | OrNe$Outbound | OrGt$Outbound | OrGte$Outbound | OrLt$Outbound | OrLte$Outbound | OrIn$Outbound | OrNin$Outbound | OrExists$Outbound;
    }>;
};
/** @internal */
export declare const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or>;
export declare function orToJSON(or: Or): string;
/** @internal */
export type AndExists$Outbound = {
    exists: boolean;
};
/** @internal */
export declare const AndExists$outboundSchema: z.ZodType<AndExists$Outbound, z.ZodTypeDef, AndExists>;
export declare function andExistsToJSON(andExists: AndExists): string;
/** @internal */
export type DeploymentInvokeAndNin$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentInvokeAndNin$outboundSchema: z.ZodType<DeploymentInvokeAndNin$Outbound, z.ZodTypeDef, DeploymentInvokeAndNin>;
export declare function deploymentInvokeAndNinToJSON(deploymentInvokeAndNin: DeploymentInvokeAndNin): string;
/** @internal */
export type AndNin$Outbound = {
    nin: Array<string | number | boolean>;
};
/** @internal */
export declare const AndNin$outboundSchema: z.ZodType<AndNin$Outbound, z.ZodTypeDef, AndNin>;
export declare function andNinToJSON(andNin: AndNin): string;
/** @internal */
export type DeploymentInvokeAndIn$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentInvokeAndIn$outboundSchema: z.ZodType<DeploymentInvokeAndIn$Outbound, z.ZodTypeDef, DeploymentInvokeAndIn>;
export declare function deploymentInvokeAndInToJSON(deploymentInvokeAndIn: DeploymentInvokeAndIn): string;
/** @internal */
export type AndIn$Outbound = {
    in: Array<string | number | boolean>;
};
/** @internal */
export declare const AndIn$outboundSchema: z.ZodType<AndIn$Outbound, z.ZodTypeDef, AndIn>;
export declare function andInToJSON(andIn: AndIn): string;
/** @internal */
export type AndLte$Outbound = {
    lte: number;
};
/** @internal */
export declare const AndLte$outboundSchema: z.ZodType<AndLte$Outbound, z.ZodTypeDef, AndLte>;
export declare function andLteToJSON(andLte: AndLte): string;
/** @internal */
export type AndLt$Outbound = {
    lt: number;
};
/** @internal */
export declare const AndLt$outboundSchema: z.ZodType<AndLt$Outbound, z.ZodTypeDef, AndLt>;
export declare function andLtToJSON(andLt: AndLt): string;
/** @internal */
export type AndGte$Outbound = {
    gte: number;
};
/** @internal */
export declare const AndGte$outboundSchema: z.ZodType<AndGte$Outbound, z.ZodTypeDef, AndGte>;
export declare function andGteToJSON(andGte: AndGte): string;
/** @internal */
export type AndGt$Outbound = {
    gt: number;
};
/** @internal */
export declare const AndGt$outboundSchema: z.ZodType<AndGt$Outbound, z.ZodTypeDef, AndGt>;
export declare function andGtToJSON(andGt: AndGt): string;
/** @internal */
export type DeploymentInvokeAndNe$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentInvokeAndNe$outboundSchema: z.ZodType<DeploymentInvokeAndNe$Outbound, z.ZodTypeDef, DeploymentInvokeAndNe>;
export declare function deploymentInvokeAndNeToJSON(deploymentInvokeAndNe: DeploymentInvokeAndNe): string;
/** @internal */
export type AndNe$Outbound = {
    ne: string | number | boolean;
};
/** @internal */
export declare const AndNe$outboundSchema: z.ZodType<AndNe$Outbound, z.ZodTypeDef, AndNe>;
export declare function andNeToJSON(andNe: AndNe): string;
/** @internal */
export type DeploymentInvokeAndEq$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentInvokeAndEq$outboundSchema: z.ZodType<DeploymentInvokeAndEq$Outbound, z.ZodTypeDef, DeploymentInvokeAndEq>;
export declare function deploymentInvokeAndEqToJSON(deploymentInvokeAndEq: DeploymentInvokeAndEq): string;
/** @internal */
export type AndEq$Outbound = {
    eq: string | number | boolean;
};
/** @internal */
export declare const AndEq$outboundSchema: z.ZodType<AndEq$Outbound, z.ZodTypeDef, AndEq>;
export declare function andEqToJSON(andEq: AndEq): string;
/** @internal */
export type KnowledgeFilterAnd$Outbound = AndEq$Outbound | AndNe$Outbound | AndGt$Outbound | AndGte$Outbound | AndLt$Outbound | AndLte$Outbound | AndIn$Outbound | AndNin$Outbound | AndExists$Outbound;
/** @internal */
export declare const KnowledgeFilterAnd$outboundSchema: z.ZodType<KnowledgeFilterAnd$Outbound, z.ZodTypeDef, KnowledgeFilterAnd>;
export declare function knowledgeFilterAndToJSON(knowledgeFilterAnd: KnowledgeFilterAnd): string;
/** @internal */
export type And$Outbound = {
    and: Array<{
        [k: string]: AndEq$Outbound | AndNe$Outbound | AndGt$Outbound | AndGte$Outbound | AndLt$Outbound | AndLte$Outbound | AndIn$Outbound | AndNin$Outbound | AndExists$Outbound;
    }>;
};
/** @internal */
export declare const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And>;
export declare function andToJSON(and: And): string;
/** @internal */
export type Exists$Outbound = {
    exists: boolean;
};
/** @internal */
export declare const Exists$outboundSchema: z.ZodType<Exists$Outbound, z.ZodTypeDef, Exists>;
export declare function existsToJSON(exists: Exists): string;
/** @internal */
export type OneNin$Outbound = string | number | boolean;
/** @internal */
export declare const OneNin$outboundSchema: z.ZodType<OneNin$Outbound, z.ZodTypeDef, OneNin>;
export declare function oneNinToJSON(oneNin: OneNin): string;
/** @internal */
export type Nin$Outbound = {
    nin: Array<string | number | boolean>;
};
/** @internal */
export declare const Nin$outboundSchema: z.ZodType<Nin$Outbound, z.ZodTypeDef, Nin>;
export declare function ninToJSON(nin: Nin): string;
/** @internal */
export type OneIn$Outbound = string | number | boolean;
/** @internal */
export declare const OneIn$outboundSchema: z.ZodType<OneIn$Outbound, z.ZodTypeDef, OneIn>;
export declare function oneInToJSON(oneIn: OneIn): string;
/** @internal */
export type In$Outbound = {
    in: Array<string | number | boolean>;
};
/** @internal */
export declare const In$outboundSchema: z.ZodType<In$Outbound, z.ZodTypeDef, In>;
export declare function inToJSON(value: In): string;
/** @internal */
export type Lte$Outbound = {
    lte: number;
};
/** @internal */
export declare const Lte$outboundSchema: z.ZodType<Lte$Outbound, z.ZodTypeDef, Lte>;
export declare function lteToJSON(lte: Lte): string;
/** @internal */
export type Lt$Outbound = {
    lt: number;
};
/** @internal */
export declare const Lt$outboundSchema: z.ZodType<Lt$Outbound, z.ZodTypeDef, Lt>;
export declare function ltToJSON(lt: Lt): string;
/** @internal */
export type Gte$Outbound = {
    gte: number;
};
/** @internal */
export declare const Gte$outboundSchema: z.ZodType<Gte$Outbound, z.ZodTypeDef, Gte>;
export declare function gteToJSON(gte: Gte): string;
/** @internal */
export type Gt$Outbound = {
    gt: number;
};
/** @internal */
export declare const Gt$outboundSchema: z.ZodType<Gt$Outbound, z.ZodTypeDef, Gt>;
export declare function gtToJSON(gt: Gt): string;
/** @internal */
export type OneNe$Outbound = string | number | boolean;
/** @internal */
export declare const OneNe$outboundSchema: z.ZodType<OneNe$Outbound, z.ZodTypeDef, OneNe>;
export declare function oneNeToJSON(oneNe: OneNe): string;
/** @internal */
export type Ne$Outbound = {
    ne: string | number | boolean;
};
/** @internal */
export declare const Ne$outboundSchema: z.ZodType<Ne$Outbound, z.ZodTypeDef, Ne>;
export declare function neToJSON(ne: Ne): string;
/** @internal */
export type OneEq$Outbound = string | number | boolean;
/** @internal */
export declare const OneEq$outboundSchema: z.ZodType<OneEq$Outbound, z.ZodTypeDef, OneEq>;
export declare function oneEqToJSON(oneEq: OneEq): string;
/** @internal */
export type Eq$Outbound = {
    eq: string | number | boolean;
};
/** @internal */
export declare const Eq$outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq>;
export declare function eqToJSON(eq: Eq): string;
/** @internal */
export type KnowledgeFilter1$Outbound = Eq$Outbound | Ne$Outbound | Gt$Outbound | Gte$Outbound | Lt$Outbound | Lte$Outbound | In$Outbound | Nin$Outbound | Exists$Outbound;
/** @internal */
export declare const KnowledgeFilter1$outboundSchema: z.ZodType<KnowledgeFilter1$Outbound, z.ZodTypeDef, KnowledgeFilter1>;
export declare function knowledgeFilter1ToJSON(knowledgeFilter1: KnowledgeFilter1): string;
/** @internal */
export type KnowledgeFilter$Outbound = And$Outbound | Or$Outbound | {
    [k: string]: Eq$Outbound | Ne$Outbound | Gt$Outbound | Gte$Outbound | Lt$Outbound | Lte$Outbound | In$Outbound | Nin$Outbound | Exists$Outbound;
};
/** @internal */
export declare const KnowledgeFilter$outboundSchema: z.ZodType<KnowledgeFilter$Outbound, z.ZodTypeDef, KnowledgeFilter>;
export declare function knowledgeFilterToJSON(knowledgeFilter: KnowledgeFilter): string;
/** @internal */
export type DeploymentInvokeRequestBody$Outbound = {
    key: string;
    stream: boolean;
    inputs?: {
        [k: string]: any;
    } | undefined;
    context?: {
        [k: string]: any;
    } | undefined;
    prefix_messages?: Array<SystemMessage$Outbound | DeveloperMessage$Outbound | UserMessage$Outbound | AssistantMessage$Outbound | ToolMessage$Outbound> | undefined;
    messages?: Array<MessagesSystemMessage$Outbound | MessagesDeveloperMessage$Outbound | MessagesUserMessage$Outbound | MessagesAssistantMessage$Outbound | MessagesToolMessage$Outbound> | undefined;
    identity?: components.PublicIdentity$Outbound | undefined;
    file_ids?: Array<string> | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
    extra_params?: {
        [k: string]: any;
    } | undefined;
    documents?: Array<Documents$Outbound> | undefined;
    invoke_options?: InvokeOptions$Outbound | undefined;
    thread?: Thread$Outbound | undefined;
    knowledge_filter?: And$Outbound | Or$Outbound | {
        [k: string]: Eq$Outbound | Ne$Outbound | Gt$Outbound | Gte$Outbound | Lt$Outbound | Lte$Outbound | In$Outbound | Nin$Outbound | Exists$Outbound;
    } | undefined;
};
/** @internal */
export declare const DeploymentInvokeRequestBody$outboundSchema: z.ZodType<DeploymentInvokeRequestBody$Outbound, z.ZodTypeDef, DeploymentInvokeRequestBody>;
export declare function deploymentInvokeRequestBodyToJSON(deploymentInvokeRequestBody: DeploymentInvokeRequestBody): string;
/** @internal */
export declare const DeploymentInvokeObject$inboundSchema: z.ZodNativeEnum<typeof DeploymentInvokeObject>;
/** @internal */
export declare const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider>;
/** @internal */
export declare const Telemetry$inboundSchema: z.ZodType<Telemetry, z.ZodTypeDef, unknown>;
export declare function telemetryFromJSON(jsonString: string): SafeParseResult<Telemetry, SDKValidationError>;
/** @internal */
export declare const DeploymentInvokeMetadata$inboundSchema: z.ZodType<DeploymentInvokeMetadata, z.ZodTypeDef, unknown>;
export declare function deploymentInvokeMetadataFromJSON(jsonString: string): SafeParseResult<DeploymentInvokeMetadata, SDKValidationError>;
/** @internal */
export declare const Retrievals$inboundSchema: z.ZodType<Retrievals, z.ZodTypeDef, unknown>;
export declare function retrievalsFromJSON(jsonString: string): SafeParseResult<Retrievals, SDKValidationError>;
/** @internal */
export declare const PromptTokensDetails$inboundSchema: z.ZodType<PromptTokensDetails, z.ZodTypeDef, unknown>;
export declare function promptTokensDetailsFromJSON(jsonString: string): SafeParseResult<PromptTokensDetails, SDKValidationError>;
/** @internal */
export declare const CompletionTokensDetails$inboundSchema: z.ZodType<CompletionTokensDetails, z.ZodTypeDef, unknown>;
export declare function completionTokensDetailsFromJSON(jsonString: string): SafeParseResult<CompletionTokensDetails, SDKValidationError>;
/** @internal */
export declare const Usage$inboundSchema: z.ZodType<Usage, z.ZodTypeDef, unknown>;
export declare function usageFromJSON(jsonString: string): SafeParseResult<Usage, SDKValidationError>;
/** @internal */
export declare const DeploymentInvokeMessageDeploymentsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentInvokeMessageDeploymentsRole>;
/** @internal */
export declare const Message3$inboundSchema: z.ZodType<Message3, z.ZodTypeDef, unknown>;
export declare function message3FromJSON(jsonString: string): SafeParseResult<Message3, SDKValidationError>;
/** @internal */
export declare const DeploymentInvokeMessageRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentInvokeMessageRole>;
/** @internal */
export declare const Message2$inboundSchema: z.ZodType<Message2, z.ZodTypeDef, unknown>;
export declare function message2FromJSON(jsonString: string): SafeParseResult<Message2, SDKValidationError>;
/** @internal */
export declare const MessageRole$inboundSchema: z.ZodNativeEnum<typeof MessageRole>;
/** @internal */
export declare const DeploymentInvokeMessageDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof DeploymentInvokeMessageDeploymentsResponseType>;
/** @internal */
export declare const MessageFunction$inboundSchema: z.ZodType<MessageFunction, z.ZodTypeDef, unknown>;
export declare function messageFunctionFromJSON(jsonString: string): SafeParseResult<MessageFunction, SDKValidationError>;
/** @internal */
export declare const MessageToolCalls$inboundSchema: z.ZodType<MessageToolCalls, z.ZodTypeDef, unknown>;
export declare function messageToolCallsFromJSON(jsonString: string): SafeParseResult<MessageToolCalls, SDKValidationError>;
/** @internal */
export declare const Message1$inboundSchema: z.ZodType<Message1, z.ZodTypeDef, unknown>;
export declare function message1FromJSON(jsonString: string): SafeParseResult<Message1, SDKValidationError>;
/** @internal */
export declare const Message$inboundSchema: z.ZodType<Message, z.ZodTypeDef, unknown>;
export declare function messageFromJSON(jsonString: string): SafeParseResult<Message, SDKValidationError>;
/** @internal */
export declare const Choices$inboundSchema: z.ZodType<Choices, z.ZodTypeDef, unknown>;
export declare function choicesFromJSON(jsonString: string): SafeParseResult<Choices, SDKValidationError>;
/** @internal */
export declare const DeploymentInvokeResponseBody$inboundSchema: z.ZodType<DeploymentInvokeResponseBody, z.ZodTypeDef, unknown>;
export declare function deploymentInvokeResponseBodyFromJSON(jsonString: string): SafeParseResult<DeploymentInvokeResponseBody, SDKValidationError>;
//# sourceMappingURL=deploymentinvoke.d.ts.map